File tree 1 file changed +5
-5
lines changed
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)
644
644
host -> base + HW_SSP_CTRL0 + STMP_OFFSET_REG_SET );
645
645
writel (BM_SSP_CTRL1_SDIO_IRQ_EN ,
646
646
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
-
652
647
} else {
653
648
writel (BM_SSP_CTRL0_SDIO_IRQ_CHECK ,
654
649
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)
657
652
}
658
653
659
654
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
+
660
660
}
661
661
662
662
static const struct mmc_host_ops mxs_mmc_ops = {
You can’t perform that action at this time.
0 commit comments