dmaengine: imx-sdma: don't print warning when firmware is absent
authorLucas Stach <l.stach@pengutronix.de>
Thu, 16 May 2024 10:25:32 +0000 (12:25 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 7 Jun 2024 17:44:45 +0000 (23:14 +0530)
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>
drivers/dma/imx-sdma.c

index 003e1580b9023b7f8f8e1fe7f3034837a9d49a1d..72299a08af441b10aa4c904bcb504642107f1077 100644 (file)
@@ -2107,9 +2107,8 @@ static int sdma_get_firmware(struct sdma_engine *sdma,
 {
        int ret;
 
-       ret = request_firmware_nowait(THIS_MODULE,
-                       FW_ACTION_UEVENT, fw_name, sdma->dev,
-                       GFP_KERNEL, sdma, sdma_load_firmware);
+       ret = firmware_request_nowait_nowarn(THIS_MODULE, fw_name, sdma->dev,
+                                       GFP_KERNEL, sdma, sdma_load_firmware);
 
        return ret;
 }