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)
commit20cadcb4df3eebd82410eab4aa91d5b083e16cd1
treed8a37d31b687114016edd36003b787a6742a77f4
parent5dd90e5b91e0f5c925b12b132c7cd27538870256
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