[RFC PATCH 3/3] of: fix node traversing in of_dma_get_range

Rob Herring robh at kernel.org
Mon Mar 27 07:34:35 PDT 2017


On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep <oza.oza at broadcom.com> wrote:
> it jumps to the parent node without examining the child node.
> also with that, it throws "no dma-ranges found for node"
> for pci dma-ranges.
>
> this patch fixes device node traversing for dma-ranges.

What's the DT look like that doesn't work?

dma-ranges is supposed to be a bus property, not a device's property.
So looking at the parent is correct behavior generally.

Rob



More information about the linux-arm-kernel mailing list