From: Markus Pargmann Date: Tue, 29 Oct 2013 07:47:47 +0000 (+0100) Subject: dma: mxs-dma: Fix channel reset hardware bug X-Git-Tag: v3.13-rc1~29^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702e94d66b555622ca6830de3095b5f0bb2ff6d7;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed