mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Shawn Guo <[email protected]> Acked-by: Sascha Hauer <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
294a665e30
commit
0f927a11b6
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue