[PATCH 04/11] dmaengine: dw_dmac: simplify master selection

Arnd Bergmann arnd at arndb.de
Wed Apr 24 08:35:50 EDT 2013


On Wednesday 24 April 2013, Andy Shevchenko wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> 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.
> 
> (Upstream commit id: f776076b9fa82d630651c9af56359d80fce86d68)
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Vinod Koul <vinod.koul at intel.com>

Hi Andy,

Did you intend that to get sent to everyone, or just forget to
pass --suppress-cc=all to git-send-email?

	Arnd



More information about the linux-arm-kernel mailing list