dw_dmac: autoconfigure data_width or get it via platform data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 Sep 2012 12:05:48 +0000 (15:05 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 27 Sep 2012 10:05:23 +0000 (15:35 +0530)
commita09820043c9e11149145a1ec221eed4a7b42dcce
tree0561b70b0803aec4b57e41e90fa0ece433f9d59f
parent4a63a8b3e8d2e4f56174deb728085010aa3ac2a1
dw_dmac: autoconfigure data_width or get it via platform data

Not all of the controllers support the 64 bit data width. Make it configurable
via platform data. The driver will try to get a value from the component
parameters, otherwise it will use the platform data.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
arch/arm/mach-spear13xx/spear13xx.c
arch/avr32/mach-at32ap/at32ap700x.c
drivers/dma/dw_dmac.c
drivers/dma/dw_dmac_regs.h
include/linux/dw_dmac.h