projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/vc4: Drop planes that have 0 destination size
[platform/kernel/linux-rpi.git]
/
drivers
/
dma
/
of-dma.c
diff --git
a/drivers/dma/of-dma.c
b/drivers/dma/of-dma.c
index
ac61ecd
..
775a7f4
100644
(file)
--- a/
drivers/dma/of-dma.c
+++ b/
drivers/dma/of-dma.c
@@
-264,7
+264,7
@@
struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
}
/* Silently fail if there is not even the "dmas" property */
- if (!of_
find_property(np, "dmas", NULL
))
+ if (!of_
property_present(np, "dmas"
))
return ERR_PTR(-ENODEV);
count = of_property_count_strings(np, "dma-names");