summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-26 16:53:57 +0200
committerVinod Koul <vinod.koul@intel.com>2013-04-15 09:51:19 +0530
commitf776076b9fa82d630651c9af56359d80fce86d68 (patch)
treecb88a7aaa7840ace28833955396c84fd8cef7f9b /block/blk-throttle.c
parentbd2e6b664055a115a85be81af0ceb022726c5aef (diff)
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 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions