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)
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>

No differences found