mmc: mediatek: fix SDIO IRQ interrupt handle flow
authorjjian zhou <jjian.zhou@mediatek.com>
Mon, 17 Jun 2019 11:04:07 +0000 (19:04 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Jun 2019 11:25:44 +0000 (13:25 +0200)
commit8a5df8ac628f4febea1e6cd3044bff2d536dd096
treeb78aeba4bc264dc75e1e4e6f515766a37c86946c
parentb0e370b95a3b231d0fb5d1958cce85ef57196fe6
mmc: mediatek: fix SDIO IRQ interrupt handle flow

SDIO IRQ is triggered by low level. It need disable SDIO IRQ
detected function. Otherwise the interrupt register can't be cleared.
It will process the interrupt more.

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