Thread (4 messages) 4 messages, 4 authors, 2014-10-08

[PATCH] mmc: dw_mmc: Reset DMA before enabling IDMAC

From: jh80.chung@samsung.com (Jaehoon Chung)
Date: 2014-10-07 23:59:52
Also in: linux-mmc, lkml

Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

On 10/07/2014 03:11 AM, Doug Anderson wrote:
Sonny,

On Mon, Oct 6, 2014 at 10:53 AM, Sonny Rao [off-list ref] wrote:
quoted
We've already got a reset of DMA after it's done.  Add one before we
start DMA too.  This fixes a data corruption on Rockchip SoCs which
will get bad data when doing a DMA transfer after doing a PIO transfer.

We tested this on an Exynos 5800 with HS200 and didn't notice any
difference in sequential read throughput.

Signed-off-by: Sonny Rao <redacted>
Signed-off-by: Doug Anderson <dianders@chromium.org>
---
 drivers/mmc/host/dw_mmc.c | 4 ++++
 1 file changed, 4 insertions(+)
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help