diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-10-29 07:47:47 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-11-13 10:08:30 (GMT) |
commit | 702e94d66b555622ca6830de3095b5f0bb2ff6d7 (patch) | |
tree | 9a1319edf4ad1a6601aee57692a925e8d952bc02 /drivers/block/nvme-scsi.c | |
parent | 7b11304a3c11a24a8674a47e8fd136182f86b49d (diff) | |
download | linux-702e94d66b555622ca6830de3095b5f0bb2ff6d7.tar.xz |
dma: mxs-dma: Fix channel reset hardware bug
This is no official errata, but I noticed that the channel reset may
stop working if the DMA state engine is in the READ_FLUSH state.
This patch uses the channel debug1 register to wait for the DMA
statemachine to leave the READ_FLUSH state. After that we can continue
to reset the channel.
Tested on i.MX28.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/block/nvme-scsi.c')
0 files changed, 0 insertions, 0 deletions