Xilinx: DMA: Identifies associated DMA device for a channel
commitf628e304e692cca6898dac4018aa6fadf708e74f
authorSrikanthT <sthokal@xilinx.com>
Thu, 5 Apr 2012 14:48:59 +0000 (5 20:18 +0530)
committerJohn Linn <john.linn@xilinx.com>
Thu, 5 Apr 2012 18:22:53 +0000 (5 11:22 -0700)
tree4424075e18c1993840f938f82abdc69d0789dbf6
parentfe362cd758c40b4091750fa15b23bfdbb3afd709
Xilinx: DMA: Identifies associated DMA device for a channel

This patch will add the logic to know the DMA device a
channel belongs to. This will help the user to get the
channel from a particular device. A unique device-id is
generated from the device-tree which forms as a mask
for requesting a channel.

Signed-off-by: SrikanthT <sthokal@xilinx.com>
drivers/dma/xilinx_dma.c