dma: imx-sdma: clarify about firmware not found error
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 12 Nov 2014 22:04:29 +0000 (20:04 -0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Dec 2014 17:48:53 +0000 (23:18 +0530)
When a firmware cannot be found for the SDMA engine then we can
continue with the internal ROM firmware.

The meaning of this message is frequently asked for, so make clear
that the driver still works with the internal ROM firmware and reduce
the loglevel from err to info.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c

index 5b38f2b..d0df198 100644 (file)
@@ -1288,7 +1288,8 @@ static void sdma_load_firmware(const struct firmware *fw, void *context)
        unsigned short *ram_code;
 
        if (!fw) {
-               dev_err(sdma->dev, "firmware not found\n");
+               dev_info(sdma->dev, "external firmware not found, using ROM firmware\n");
+               /* In this case we just use the ROM firmware. */
                return;
        }