dma: imx-sdma: remove firmare not found warning
Subsystems (2)
Sascha Hauer
maintainerPATCH 1/1 dma: imx-sdma: remove firmare not found warning
When a firmware cannot be found for the SDMA engine then we can continue with the inernal ROM firmware.
The meaning of this message is frequently asked for and the usual answer is that this message is of no relevance, so just make it dev_dbg() and do not alienate the users anymore.
--- drivers/dma/imx-sdma.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/dma/imx-sdma.c +4 -1
@@ -1259,7 +1259,10 @@ 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_dbg (sdma->dev,"firmware not found\n" ); +/* +* In this case we just use the ROM firmware. +*/ return ; }
Signature · 1 line
1.8.5.2
PATCH 1/1 dma: imx-sdma: remove firmare not found warning
Quoted 9 lines · Sascha Hauer
When a firmware cannot be found for the SDMA engine then we can continue with the inernal ROM firmware.
The meaning of this message is frequently asked for and the usual answer is that this message is of no relevance, so just make it
dev_dbg()and do not alienate the users anymore.Signed-off-by Sascha Hauer <[email protected]>Cc Vinod Koul <[email protected]>
Quoted 23 lines
--- drivers/dma/imx-sdma.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/dma/imx-sdma.c +4
-1@@ -1259,7 +1259,10 @@ 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_dbg (sdma->dev,"firmware not found\n" ); +/* +* In this case we just use the ROM firmware. +*/ return ; }Signature · 1 line
1.8.5.2
PATCH 1/1 dma: imx-sdma: remove firmare not found warning
In reply to Sascha HauerQuoted 2 lines · Sascha Hauer
When a firmware cannot be found for the SDMA engine then we can continue with the inernal ROM firmware.
typo ^^^^^^^
Quoted 15 lines
The meaning of this message is frequently asked for and the usual answer is that this message is of no relevance, so just make it
dev_dbg()and do not alienate the users anymore.Signed-off-by Sascha Hauer <[email protected]>Cc Vinod Koul <[email protected]>--- drivers/dma/imx-sdma.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/dma/imx-sdma.c +0
-0
drivers/dma/imx-sdma.c static void sdma_load_firmware(const struct firmware *fw, void *context) · line 1262
Quoted 5 lines
drivers/dma/imx-sdma.c +1
-1@@ -1259,7 +1259,10 @@ 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_dbg (sdma->dev,"firmware not found\n" );
Shouldn't this be dev_info and would amke sense, external firmware not found using internal one??
--
~Vinod
Quoted 9 lines
drivers/dma/imx-sdma.c +3
-0+/* +* In this case we just use the ROM firmware. +*/ return ; }Signature · 1 line
1.8.5.2
Sascha Hauer
maintainerPATCH 1/1 dma: imx-sdma: remove firmare not found warning
Quoted 22 lines · Vinod Koul
Quoted 2 lines · Sascha Hauer
When a firmware cannot be found for the SDMA engine then we can continue with the inernal ROM firmware.
typo ^^^^^^^
Quoted 17 lines
The meaning of this message is frequently asked for and the usual answer is that this message is of no relevance, so just make it
dev_dbg()and do not alienate the users anymore.Signed-off-by Sascha Hauer <[email protected]>Cc Vinod Koul <[email protected]>--- drivers/dma/imx-sdma.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/dma/imx-sdma.c +0
-0@@ -1259,7 +1259,10 @@ static void sdma_load_firmware(const struct firmware *fw, void *context)unsigned short *ram_code;
Quoted 5 lines
drivers/dma/imx-sdma.c static void sdma_load_firmware(const struct firmware *fw, void *context) · line 1262
Quoted 3 lines
drivers/dma/imx-sdma.c +1
-1if (!fw) { -dev_err (sdma->dev,"firmware not found\n" ); +dev_dbg (sdma->dev,"firmware not found\n" );Shouldn't this be
dev_infoand would amke sense, external firmware not found using internal one??
Yeah, sounds better. See v2.
Sascha
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |