dmaengine: rcar-dmac: clear channel register when error
PATCH v3 1/1 dmaengine: rcar-dmac: clear channel register when error
Quoted 10 lines · Kuninori Morimoto
From: Kuninori Morimoto <[email protected]>
We need to clear channel register in error case as recovery. The channel is already stopped in such case, thus we don't need to call
rcar_dmac_chan_halt()before clearing.
rcar_dmac_chan_halt()will clear and confirm DE bit.
But it will be failed because channel is already stopped in error case. In other words, we shouldn't call it then.
Applied, thanks