]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/dma/at_xdmac.c
dmaengine: xdmac: Handle descriptor's view 3 registers
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 May 2015 15:38:08 +0000 (17:38 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 18 May 2015 05:29:34 +0000 (10:59 +0530)
commitee0fe35c8dcde29e7f65c34c286378750c075bf3
tree305667bc33318b5f44e1bb68057188d4d40be8de
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
dmaengine: xdmac: Handle descriptor's view 3 registers

The XDMAC DMA controller uses a concept of views to be able to handle
descriptors of different sizes.

So far, only the views 1 and 2 were handled by the driver. Unfortunately, we
need some of the configuration fields found in the view 3 in order to support
memset and interleaved transfers.

Add the definition for the view 3 registers, and the needed code to handle view
3 descriptors.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c