Skip to content

Commit ea00def

Browse files
lynxeye-devvinodkoul
authored andcommitted
dmaengine: imx-sdma: don't print warning when firmware is absent
The SDMA firmware is optional and a usable fallback to the internal ROM firmware is present in the driver. There is already a message printed informing the user that the internal firmware is used, so there is no need to print a scary warning for what is normal operation on most systems. Signed-off-by: Lucas Stach <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 11c63e5 commit ea00def

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/dma/imx-sdma.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,9 +2107,8 @@ static int sdma_get_firmware(struct sdma_engine *sdma,
21072107
{
21082108
int ret;
21092109

2110-
ret = request_firmware_nowait(THIS_MODULE,
2111-
FW_ACTION_UEVENT, fw_name, sdma->dev,
2112-
GFP_KERNEL, sdma, sdma_load_firmware);
2110+
ret = firmware_request_nowait_nowarn(THIS_MODULE, fw_name, sdma->dev,
2111+
GFP_KERNEL, sdma, sdma_load_firmware);
21132112

21142113
return ret;
21152114
}

0 commit comments

Comments
 (0)