From bdb9a90b3d123d9d421dd840c0f7fba1d1dfeba2 Mon Sep 17 00:00:00 2001 From: addy ke Date: Fri, 20 Feb 2015 10:55:25 +0800 Subject: [PATCH] mmc: dw_mmc: fix mmc_test by not sending abort for DRTO/EBE errors The STOP command can terminate a data transfer between a memory card and mmc controller. As show in Synopsys DesignWare Cores Mobile Storage 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 Reviewed-by: Doug Anderson Tested-by: Doug Anderson Tested-by: Javier Martinez Canillas Signed-off-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- Reading git-format-patch failed