Re: [RFC PATCH 3/3] of: fix node traversing in of_dma_get_range
From: Rob Herring
Date: Mon Mar 27 2017 - 10:35:27 EST
On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep <oza.oza@xxxxxxxxxxxx> 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