]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: ep93xx: Always start from BASE0
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Mon, 22 May 2017 14:05:22 +0000 (16:05 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 24 May 2017 04:22:46 +0000 (09:52 +0530)
commite42d294c2a784b65aeaaa97afa4b7f636a65a7b4
tree5a6d750d378933e13476acaf7555c4bb7ce3edf1
parent09e6540250c7f7a05a3b046a7a158bcef3605bb9
dmaengine: ep93xx: Always start from BASE0

The current buffer is being reset to zero on device_free_chan_resources()
but not on device_terminate_all(). It could happen that HW is restarted and
expects BASE0 to be used, but the driver is not synchronized and will start
from BASE1. One solution is to reset the buffer explicitly in
m2p_hw_setup().

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ep93xx_dma.c