diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-12 20:04:29 -0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-12-05 23:18:53 +0530 |
commit | 0f927a11b67a4713d368b963e63dd36350ce91dc (patch) | |
tree | 91681a72eb2a1f2ba294b87dc2e44f300dac6941 /drivers/dma/imx-sdma.c | |
parent | 294a665e30c1897b2cbbc26a03eaf650485758cc (diff) | |
download | linux-stable-0f927a11b67a4713d368b963e63dd36350ce91dc.tar.gz linux-stable-0f927a11b67a4713d368b963e63dd36350ce91dc.tar.bz2 linux-stable-0f927a11b67a4713d368b963e63dd36350ce91dc.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 5b38f2bbd42a..d0df198f62e9 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; } |