]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: at_xdmac: fix bug about channel configuration
authorLudovic Desroches <ludovic.desroches@atmel.com>
Wed, 17 Jun 2015 14:22:26 +0000 (16:22 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 31 Jul 2015 15:03:41 +0000 (20:33 +0530)
commitf466d760aa4eb9e14ce9524e1b515c36658352cd
treed8a37d31b687114016edd36003b787a6742a77f4
parent6f1c42b804c3fd82323388324fbebb2b89b5530e
dmaengine: at_xdmac: fix bug about channel configuration

When using descriptor view 2 or higher, we don't write the configuration
into AT_XDMAC_CC register because this configuration will be fetch from
the descriptor. Unfortunately, the PROT bit is not updated with this
method, we have to do it manually before enabling the channel.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c