projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
dmaengine: moxart: remove NO_IRQ
author
Arnd Bergmann
<arnd@arndb.de>
Fri, 2 Sep 2016 21:41:10 +0000
(23:41 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 5 Sep 2016 11:10:52 +0000
(16:40 +0530)
The use of NO_IRQ is incorrect here and should never have been there,
as irq_of_parse_and_map() returns '0' on failure, not NO_IRQ.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/moxart-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/moxart-dma.c
b/drivers/dma/moxart-dma.c
index a6e642792e5a34f1bb46e738e416a49cd3fcc442..e1a5c2242f6fbbadac9ec4b27342989d2ebe5783 100644
(file)
--- a/
drivers/dma/moxart-dma.c
+++ b/
drivers/dma/moxart-dma.c
@@
-579,7
+579,7
@@
static int moxart_probe(struct platform_device *pdev)
return -ENOMEM;
irq = irq_of_parse_and_map(node, 0);
- if (
irq == NO_IRQ
) {
+ if (
!irq
) {
dev_err(dev, "no IRQ resource\n");
return -EINVAL;
}