diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-26 14:53:57 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-04-15 04:21:19 (GMT) |
commit | f776076b9fa82d630651c9af56359d80fce86d68 (patch) | |
tree | cb88a7aaa7840ace28833955396c84fd8cef7f9b /COPYING | |
parent | bd2e6b664055a115a85be81af0ceb022726c5aef (diff) | |
download | linux-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 'COPYING')
0 files changed, 0 insertions, 0 deletions