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)
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

Simple merge