summaryrefslogtreecommitdiff
path: root/arch/mips/ar7/Platform
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-26 14:53:57 (GMT)
committerVinod Koul <vinod.koul@intel.com>2013-04-15 04:21:19 (GMT)
commitf776076b9fa82d630651c9af56359d80fce86d68 (patch)
treecb88a7aaa7840ace28833955396c84fd8cef7f9b /arch/mips/ar7/Platform
parentbd2e6b664055a115a85be81af0ceb022726c5aef (diff)
downloadlinux-fsl-qoriq-f776076b9fa82d630651c9af56359d80fce86d68.tar.xz
dmaengine: dw_dmac: simplify master selection
The patch to add the common DMA binding added a dummy dw_dma_slave structure into the dw_dma_chan structure in order to configure the masters correctly. It turns out that this can be simplified if we pick the DMA masters in the dwc_alloc_chan_resources function instead and save them in the dw_dma_chan structure directly. This could be simplified further once all users that today use dw_dma_slave for configuration get converted to device tree based setup instead. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: linux-arm-kernel@lists.infradead.org Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/mips/ar7/Platform')
0 files changed, 0 insertions, 0 deletions