summaryrefslogtreecommitdiff
path: root/drivers/dma/imx-dma.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-03-14 11:41:43 (GMT)
committerVinod Koul <vinod.koul@linux.intel.com>2012-03-21 15:42:29 (GMT)
commitbeeaa103eecc7a132682c40867f0ef70655383a5 (patch)
treec1cc34c65347a04d859eae78076322668d2f636d /drivers/dma/imx-dma.c
parent185ecb5f4fd43911c35956d4cc7d94a1da30417f (diff)
downloadlinux-fsl-qoriq-beeaa103eecc7a132682c40867f0ef70655383a5.tar.xz
dmaengine: at_hdmac: add slave config operation
This patch introduces DMA_SLAVE_CONFIG to at_hdmac Atmel DMA driver. It is needed to fix a regression in the use of atmel-mci.c driver on Atmel AT91 platforms brouth by e2b35f3: "dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes" We remove some parts of the private structure "at_dma_slave" and use the information provided by "struct dma_slave_config": source/destination peripheral registers and access width. AT_DMA_SLAVE_WIDTH_* values used previously are not needed anymore as we now use the standard ones. Although some conversion functions are needed to match register expected values. Some AT91 sub-architecture specific files are slightly touched by this patch but it cannot be split because it can break compilation. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/imx-dma.c')
0 files changed, 0 insertions, 0 deletions