Skip to content

Commit 9f2f3ce

Browse files
Peter Ujfalusivinodkoul
authored andcommitted
dmaengine: ti: k3-udma: Use correct node to read "ti,udma-atype"
The "ti,udma-atype" property is expected in the UDMA node and not in the parent navss node. Fixes: 0ebcf1a ("dmaengine: ti: k3-udma: Implement support for atype (for virtualization)") Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent b3a9e3b commit 9f2f3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/ti/k3-udma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3593,7 +3593,7 @@ static int udma_probe(struct platform_device *pdev)
35933593
return ret;
35943594
}
35953595

3596-
ret = of_property_read_u32(navss_node, "ti,udma-atype", &ud->atype);
3596+
ret = of_property_read_u32(dev->of_node, "ti,udma-atype", &ud->atype);
35973597
if (!ret && ud->atype > 2) {
35983598
dev_err(dev, "Invalid atype: %u\n", ud->atype);
35993599
return -EINVAL;

0 commit comments

Comments
 (0)