dmaengine: at_hdmac: take maxburst from slave configuration
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 10 May 2012 10:17:41 +0000 (12:17 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 15 May 2012 03:17:18 +0000 (08:47 +0530)
commit1dd1ea8eb46a71201943148cc0ed3182cd04e288
tree0d4c7f05f751d906aea6b0270956453bcd6520e5
parentb409ebfb14a71b64e11b156dc82ede698480397e
dmaengine: at_hdmac: take maxburst from slave configuration

The maxburst/chunk size was taken from the private slave DMA data structure.
Use the common API provided by DMA_SLAVE_CONFIG to setup src/dst maxburst
values.
The ctrla field is not needed anymore in the slave private structure nor the
header constants that were located in an architecture specific directory.
The at91sam9g45_devices.c file that was using this platform data is also
modified to remove this now useless data.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/include/mach/at_hdmac.h
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h