]> 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)
commit68022bf182f8f0cfb98fab7b6978c686005b7ee3
tree0d4c7f05f751d906aea6b0270956453bcd6520e5
parente09b9467e21239856e92eb8623f9f26ab2f4693b
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