[PATCH v2] mmc: dw_mmc: fix bug that cause mmc_test failture
From: jh80.chung@samsung.com (Jaehoon Chung)
Date: 2015-02-27 07:11:15
Also in:
linux-mmc, lkml
From: jh80.chung@samsung.com (Jaehoon Chung)
Date: 2015-02-27 07:11:15
Also in:
linux-mmc, lkml
Hi, I will apply into my-tree after change the subject and fix typo. Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Best Regards, Jaehoon Chung On 02/26/2015 03:17 AM, Javier Martinez Canillas wrote:
Hello Addy, On 02/20/2015 03:55 AM, Addy Ke wrote:quoted
The STOP command can terminate a data transfer between a memory card and mmc controller. As show in Synopsys DesignWare Cores Mobile Stroage Host Databook:s/Stroage/Storage but maybe Ulf can amend the typo when applying?quoted
Data timeout and Data end-bit error will terminate further data transfer by mmc controller. So we should not send abort command to terminate a data transfer again if we got DRTO and EBE interrupt. After this patch, all mmc_test cases can pass on RK3288-Pink2 board. Signed-off-by: Addy Ke <redacted>I did not run all the tests listed in /sys/kernel/debug/mmc*/*/testlist because some of them will overwrite the data in my card but at least the read ones completed successfully and $subject does not cause a regression in the Exynos5250 Snow, Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks where I tested it. Tested-by: Javier Martinez Canillas <redacted> Best regards, Javier