summaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-11-12 20:04:29 -0200
committerVinod Koul <vinod.koul@intel.com>2014-12-05 23:18:53 +0530
commit0f927a11b67a4713d368b963e63dd36350ce91dc (patch)
tree91681a72eb2a1f2ba294b87dc2e44f300dac6941 /drivers/dma/imx-sdma.c
parent294a665e30c1897b2cbbc26a03eaf650485758cc (diff)
downloadlinux-0-day-0f927a11b67a4713d368b963e63dd36350ce91dc.tar.gz
linux-0-day-0f927a11b67a4713d368b963e63dd36350ce91dc.tar.xz
dma: imx-sdma: clarify about firmware not found error
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>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r--drivers/dma/imx-sdma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 5b38f2bbd42a9..d0df198f62e93 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -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;
}