]> 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)
commit000c89ffbf354742716f910b90c8dc7f9cccbf0e
treed8a37d31b687114016edd36003b787a6742a77f4
parent601f096dd0885b2bddf15e71a8e546ebf54674d3
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