dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v2,2/2] dmaengine: imx-sdma: don't print warning when firmware is absent
@ 2018-11-12 16:01 Lucas Stach
  0 siblings, 0 replies; only message in thread
From: Lucas Stach @ 2018-11-12 16:01 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Luis R . Rodriguez
  Cc: linux-kernel, dmaengine, Vinod Koul, kernel, patchwork-lst

The SDMA firmware is optional and a usable fallabck to the internal
ROM firmware is present in the driver. There is already a message
printed informing the user that the internal firmware is used, so
there is no need to print a scary warning for what is normal operation
on most systems.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/dma/imx-sdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index b4ec2d20e661..c2e7819cecb8 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -1784,7 +1784,7 @@ static int sdma_get_firmware(struct sdma_engine *sdma,
 {
 	int ret;
 
-	ret = request_firmware_nowait(THIS_MODULE,
+	ret = request_firmware_nowait_nowarn(THIS_MODULE,
 			FW_ACTION_HOTPLUG, fw_name, sdma->dev,
 			GFP_KERNEL, sdma, sdma_load_firmware);
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-12 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-12 16:01 [v2,2/2] dmaengine: imx-sdma: don't print warning when firmware is absent Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).