File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -644,11 +644,6 @@ static void mxs_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable)
644644 host -> base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET );
645645 writel (BM_SSP_CTRL1_SDIO_IRQ_EN ,
646646 host -> base + HW_SSP_CTRL1 (host ) + STMP_OFFSET_REG_SET );
647-
648- if (readl (host -> base + HW_SSP_STATUS (host )) &
649- BM_SSP_STATUS_SDIO_IRQ )
650- mmc_signal_sdio_irq (host -> mmc );
651-
652647 } else {
653648 writel (BM_SSP_CTRL0_SDIO_IRQ_CHECK ,
654649 host -> base + HW_SSP_CTRL0 + STMP_OFFSET_REG_CLR );
@@ -657,6 +652,11 @@ static void mxs_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable)
657652 }
658653
659654 spin_unlock_irqrestore (& host -> lock , flags );
655+
656+ if (enable && readl (host -> base + HW_SSP_STATUS (host )) &
657+ BM_SSP_STATUS_SDIO_IRQ )
658+ mmc_signal_sdio_irq (host -> mmc );
659+
660660}
661661
662662static const struct mmc_host_ops mxs_mmc_ops = {
You can’t perform that action at this time.
0 commit comments