mmc: mediatek: fix SDIO IRQ detection issue
authorjjian zhou <jjian.zhou@mediatek.com>
Mon, 17 Jun 2019 11:04:08 +0000 (19:04 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Jun 2019 11:26:50 +0000 (13:26 +0200)
commit20314ce30af197963b0c239f0952db6aaef73f99
tree19bfa14c8836dd2bfccd2d5d5cd188f5f3662927
parent8a5df8ac628f4febea1e6cd3044bff2d536dd096
mmc: mediatek: fix SDIO IRQ detection issue

If cmd19 timeout or response crcerr occurs during execute_tuning(),
it need invoke msdc_reset_hw(). Otherwise SDIO IRQ can't be detected.

Signed-off-by: jjian zhou <jjian.zhou@mediatek.com>
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Signed-off-by: Yong Mao <yong.mao@mediatek.com>
Fixes: 5215b2e952f3 ("mmc: mediatek: Add MMC_CAP_SDIO_IRQ support")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c