commit | 702e94d66b555622ca6830de3095b5f0bb2ff6d7 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Tue Oct 29 08:47:47 2013 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Wed Nov 13 15:38:30 2013 +0530 |
tree | 9a1319edf4ad1a6601aee57692a925e8d952bc02 | |
parent | 7b11304a3c11a24a8674a47e8fd136182f86b49d [diff] |
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>