projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a9e3b
)
dmaengine: ti: k3-udma: Use correct node to read "ti,udma-atype"
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Wed, 27 May 2020 06:53:57 +0000
(09:53 +0300)
committer
Vinod Koul
<vkoul@kernel.org>
Tue, 16 Jun 2020 15:53:38 +0000
(21:23 +0530)
The "ti,udma-atype" property is expected in the UDMA node and not in the
parent navss node.
Fixes:
0ebcf1a274c5
("dmaengine: ti: k3-udma: Implement support for atype (for virtualization)")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link:
https://lore.kernel.org/r/20200527065357.30791-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/ti/k3-udma.c
b/drivers/dma/ti/k3-udma.c
index 945b7c604f9173e84ec64db200912d314eeff8ba..5b0e03c0392a61f3074c7550d4883b7f30e05ce4 100644
(file)
--- a/
drivers/dma/ti/k3-udma.c
+++ b/
drivers/dma/ti/k3-udma.c
@@
-3593,7
+3593,7
@@
static int udma_probe(struct platform_device *pdev)
return ret;
}
- ret = of_property_read_u32(
navss
_node, "ti,udma-atype", &ud->atype);
+ ret = of_property_read_u32(
dev->of
_node, "ti,udma-atype", &ud->atype);
if (!ret && ud->atype > 2) {
dev_err(dev, "Invalid atype: %u\n", ud->atype);
return -EINVAL;