dw_dmac: autoconfigure block_size or use platform data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 Sep 2012 12:05:47 +0000 (15:05 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 27 Sep 2012 10:05:23 +0000 (15:35 +0530)
commit4a63a8b3e8d2e4f56174deb728085010aa3ac2a1
tree0c6d4fb4cd88f9c7fff748909e5956ea55793ef0
parent482c67ea7bab80b956185a3e7553151820bc5876
dw_dmac: autoconfigure block_size or use platform data

The maximum block size is a configurable parameter for the chip. So, driver
will try to get it from the encoded component parameters. Otherwise it will
come from 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