projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94a098
)
dmaengine: xilinx_dpdma: Omit superfluous error message in xilinx_dpdma_probe()
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Thu, 19 May 2022 13:08:55 +0000
(21:08 +0800)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 6 Jul 2022 05:18:14 +0000
(10:48 +0530)
In the function xilinx_dpdma_probe(), when get irq failed,
the function platform_get_irq() logs an error message,
so remove redundant message here.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link:
https://lore.kernel.org/r/20220519130855.7664-1-tangbin@cmss.chinamobile.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dpdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/xilinx/xilinx_dpdma.c
b/drivers/dma/xilinx/xilinx_dpdma.c
index
b0f4948
..
f708808
100644
(file)
--- a/
drivers/dma/xilinx/xilinx_dpdma.c
+++ b/
drivers/dma/xilinx/xilinx_dpdma.c
@@
-1652,10
+1652,8
@@
static int xilinx_dpdma_probe(struct platform_device *pdev)
dpdma_hw_init(xdev);
xdev->irq = platform_get_irq(pdev, 0);
- if (xdev->irq < 0) {
- dev_err(xdev->dev, "failed to get platform irq\n");
+ if (xdev->irq < 0)
return xdev->irq;
- }
ret = request_irq(xdev->irq, xilinx_dpdma_irq_handler, IRQF_SHARED,
dev_name(xdev->dev), xdev);