dmaengine: at_xdmac: don't restore unsaved status
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 1 Dec 2016 10:49:03 +0000 (11:49 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 6 Dec 2016 05:15:48 +0000 (10:45 +0530)
commitd3f8dc42024b09974a4a1501d4e8852a025f1c15
tree31fb638fb6d3c857ca2fb0342dec750ec37df2ce
parentbd2c6636cc59c4626a04d9918953a107f88eaff9
dmaengine: at_xdmac: don't restore unsaved status

save_gs is supposed to save the channel status in order to be restored at
resume time but it is never updated and is always 0. Anyway, the channel
status is updated in the per channel loop later in the resume function.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c