Commit ea00def5 authored by Lucas Stach's avatar Lucas Stach Committed by Vinod Koul
Browse files

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: default avatarLucas Stach <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20240516102532.213874-2-l.stach@pengutronix.de


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 11c63e57
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2107,8 +2107,7 @@ static int sdma_get_firmware(struct sdma_engine *sdma,
{
	int ret;

	ret = request_firmware_nowait(THIS_MODULE,
			FW_ACTION_UEVENT, fw_name, sdma->dev,
	ret = firmware_request_nowait_nowarn(THIS_MODULE, fw_name, sdma->dev,
					GFP_KERNEL, sdma, sdma_load_firmware);

	return ret;