]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8f5b94a388cd499a0eaf2ba5e4eaaba0411119e
tree0d4c7f05f751d906aea6b0270956453bcd6520e5
parent26db8d8f34045d4e9b7c7885806eafb56d981f2d
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