From: Sascha Hauer Date: Wed, 12 Nov 2014 22:04:29 +0000 (-0200) Subject: dma: imx-sdma: clarify about firmware not found error X-Git-Tag: v4.14-rc1~6317^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f927a11b67a4713d368b963e63dd36350ce91dc;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Fabio Estevam Acked-by: Shawn Guo Acked-by: Sascha Hauer Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 5b38f2bb..d0df198 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; }