From: Shawn Lin Date: Tue, 7 Jul 2015 02:05:45 +0000 (+0800) Subject: mmc: rk_sdmmc: fix wrong skip condiction of post_tmo X-Git-Tag: firefly_0821_release~3942 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de9ae09c6425db8fb839ce75ef8d11ae4ede8764;p=firefly-linux-kernel-4.4.55.git mmc: rk_sdmmc: fix wrong skip condiction of post_tmo Signed-off-by: Shawn Lin --- diff --git a/drivers/mmc/host/rk_sdmmc.c b/drivers/mmc/host/rk_sdmmc.c index 7f8012ead0cd..f8af868f2075 100755 --- a/drivers/mmc/host/rk_sdmmc.c +++ b/drivers/mmc/host/rk_sdmmc.c @@ -1969,7 +1969,7 @@ static void dw_mci_post_tmo(struct mmc_host *mmc) data = host->data; - if ((opcode == MMC_SEND_TUNING_BLOCK_HS200) && + if ((opcode == MMC_SEND_TUNING_BLOCK_HS200) || (opcode == MMC_SEND_TUNING_BLOCK)) return;