dmaengine: jz4780: Ensure channel is on correct controller in filter
authorAlex Smith <alex.smith@imgtec.com>
Fri, 24 Jul 2015 16:24:24 +0000 (17:24 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 18 Aug 2015 16:58:49 +0000 (22:28 +0530)
commit026fd406c81b8a2936e77342a255d55534f92061
tree282f1be23ebb4347e009f0044b5d93ab754703ed
parentd3273e10ad871e903456a875e1062514cd13a244
dmaengine: jz4780: Ensure channel is on correct controller in filter

When scanning for a free DMA channel, the filter function should ensure
that the channel is on the controller that it was requested to be on in
the DT.

Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dma-jz4780.c