Re: [PATCH] mmc: dw_mmc: fix bug that cause mmc_test failture

From: Addy
Date: Tue Feb 10 2015 - 22:03:33 EST

On 2015/02æ10æ 17:34, Olof Johansson wrote:
Hi Addy,

On Mon, Jan 26, 2015 at 4:04 AM, Addy Ke <> wrote:
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:
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 <>
The drawback of having so many people on your to: list on a patch is
that it's unclear who you want to review and merge it. Sometimes less
is more.
I will remove some unnecessary mail address from list in the following patch.
Thank you.

In this case, it seems appropriate to have Ulf do so. Ulf, ping? This
seems like a reasonable patch for 3.20 given that it fixes undesired


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at