mbox series

[-next,0/2] dmaengine: xilinx_dma: In dma channel probe fix node order dependency

Message ID 1580388865-9960-1-git-send-email-radhey.shyam.pandey@xilinx.com (mailing list archive)
Headers show
Series dmaengine: xilinx_dma: In dma channel probe fix node order dependency | expand

Message

Radhey Shyam Pandey Jan. 30, 2020, 12:54 p.m. UTC
In overlay application[1] we noticed that channel DT nodes are inverted and
as a sideffect of this behaviour the axidmatest client fails.

In general driver should not assume specific DT probe order. So to fix this
failure remove channel node ordering restriction from the xilinx dma driver.

[1]: https://github.com/raspberrypi/linux/issues/2416

Radhey Shyam Pandey (2):
  dmaengine: xilinx_dma: Extend dma_config structure to store max
    channel count
  dmaengine: xilinx_dma: In dma channel probe fix node order dependency

 drivers/dma/xilinx/xilinx_dma.c | 48 +++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 23 deletions(-)

Comments

Vinod Koul Feb. 25, 2020, 5:48 a.m. UTC | #1
On 30-01-20, 18:24, Radhey Shyam Pandey wrote:
> In overlay application[1] we noticed that channel DT nodes are inverted and
> as a sideffect of this behaviour the axidmatest client fails.
> 
> In general driver should not assume specific DT probe order. So to fix this
> failure remove channel node ordering restriction from the xilinx dma driver.

Applied, thanks