[PATCH 2/4] dma: imx-dma: Use dev_err() for reporting errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx>
---
 drivers/dma/imx-dma.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index 7ef16e8..bc78142 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
@@ -1101,7 +1101,7 @@ static int __init imxdma_probe(struct platform_device *pdev)
 		ret = devm_request_irq(&pdev->dev, irq,
 				       dma_irq_handler, 0, "DMA", imxdma);
 		if (ret) {
-			dev_warn(imxdma->dev, "Can't register IRQ for DMA\n");
+			dev_err(imxdma->dev, "Can't register IRQ for DMA\n");
 			goto err;
 		}
 
@@ -1114,7 +1114,7 @@ static int __init imxdma_probe(struct platform_device *pdev)
 		ret = devm_request_irq(&pdev->dev, irq_err,
 				       imxdma_err_handler, 0, "DMAERR", imxdma);
 		if (ret) {
-			dev_warn(imxdma->dev, "Can't register ERRIRQ for DMA\n");
+			dev_err(imxdma->dev, "Can't register ERRIRQ for DMA\n");
 			goto err;
 		}
 	}
@@ -1151,9 +1151,8 @@ static int __init imxdma_probe(struct platform_device *pdev)
 					       dma_irq_handler, 0,
 					       imxdmac->name, imxdma);
 			if (ret) {
-				dev_warn(imxdma->dev, "Can't register IRQ %d "
-					 "for DMA channel %d\n",
-					 irq + i, i);
+				dev_err(imxdma->dev, "Can't register IRQ %d "
+					"for DMA channel %d\n", irq + i, i);
 				goto err;
 			}
 			init_timer(&imxdmac->watchdog);
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux