Skip to content
Commit aa876cd4 authored by Cyrille Pitchen's avatar Cyrille Pitchen Committed by Vinod Koul
Browse files

dmaengine: at_xdmac: fix at_xdmac_prep_dma_memcpy()



This patch fixes at_xdmac_prep_dma_memcpy(). Indeed the data width field
of the Channel Configuration register was not updated properly in the
loop: the bits of the dwidth field were not cleared before adding their
new value.

Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@atmel.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Fixes: e1f7c9ee ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver")
Cc: stable@vger.kernel.org #4.1 and later
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent bcb4b619
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment