|
@@ -128,7 +128,6 @@ static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable)
|
|
|
struct tmio_mmc_host *host = mmc_priv(mmc);
|
|
|
|
|
|
if (enable) {
|
|
|
- host->sdio_irq_enabled = 1;
|
|
|
host->sdio_irq_mask = TMIO_SDIO_MASK_ALL &
|
|
|
~TMIO_SDIO_STAT_IOIRQ;
|
|
|
sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0001);
|
|
@@ -137,7 +136,6 @@ static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable)
|
|
|
host->sdio_irq_mask = TMIO_SDIO_MASK_ALL;
|
|
|
sd_ctrl_write16(host, CTL_SDIO_IRQ_MASK, host->sdio_irq_mask);
|
|
|
sd_ctrl_write16(host, CTL_TRANSACTION_CTL, 0x0000);
|
|
|
- host->sdio_irq_enabled = 0;
|
|
|
}
|
|
|
}
|
|
|
|