]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: mediatek: correct the implementation of msdc_card_busy
authoryong mao <yong.mao@mediatek.com>
Tue, 3 Jan 2017 08:49:57 +0000 (16:49 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:05 +0000 (13:20 +0100)
commit3bc702ed211f1a384aa1ca1ad852ef40c5757ded
treea53d8e3961645bf9014003fe43440d7374232881
parente9acc77dd046b22c7ebf70e35f68968978445f8b
mmc: mediatek: correct the implementation of msdc_card_busy

msdc_card_busy only need check if the data0 is low.
In sdio data1 irq mode, data1 may be low because of interruption.

Signed-off-by: Yong Mao <yong.mao@mediatek.com>
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c