Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20240516102532.213874-2-l.stach@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Lucas Stach and committed by
Vinod Koul
ea00def5 11c63e57

+2 -3
+2 -3
drivers/dma/imx-sdma.c
··· 2107 2107 { 2108 2108 int ret; 2109 2109 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); 2113 2112 2114 2113 return ret; 2115 2114 }