dmaengine: at_xdmac: fix false condition for memset_sg transfers
authorLudovic Desroches <ludovic.desroches@atmel.com>
Tue, 24 Nov 2015 09:51:09 +0000 (10:51 +0100)
committerVinod Koul <vinod.koul@intel.com>
Sat, 5 Dec 2015 08:43:51 +0000 (14:13 +0530)
commitf5a00eb71902292c5a77d7cc27bdafd09ba3c112
tree87652c5924b0379a7b945edb2e47a6dca31f7ce5
parent15a03850ab8f0a643c964987cf126e9cfb53aa27
dmaengine: at_xdmac: fix false condition for memset_sg transfers

The code was not in agreement with the comments.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: stable@vger.kernel.org # 4.3 and later
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c