|
@@ -285,11 +285,11 @@ static irqreturn_t mxs_mmc_irq_handler(int irq, void *dev_id)
|
|
writel(stat & MXS_MMC_IRQ_BITS,
|
|
writel(stat & MXS_MMC_IRQ_BITS,
|
|
host->base + HW_SSP_CTRL1(host) + STMP_OFFSET_REG_CLR);
|
|
host->base + HW_SSP_CTRL1(host) + STMP_OFFSET_REG_CLR);
|
|
|
|
|
|
|
|
+ spin_unlock(&host->lock);
|
|
|
|
+
|
|
if ((stat & BM_SSP_CTRL1_SDIO_IRQ) && (stat & BM_SSP_CTRL1_SDIO_IRQ_EN))
|
|
if ((stat & BM_SSP_CTRL1_SDIO_IRQ) && (stat & BM_SSP_CTRL1_SDIO_IRQ_EN))
|
|
mmc_signal_sdio_irq(host->mmc);
|
|
mmc_signal_sdio_irq(host->mmc);
|
|
|
|
|
|
- spin_unlock(&host->lock);
|
|
|
|
-
|
|
|
|
if (stat & BM_SSP_CTRL1_RESP_TIMEOUT_IRQ)
|
|
if (stat & BM_SSP_CTRL1_RESP_TIMEOUT_IRQ)
|
|
cmd->error = -ETIMEDOUT;
|
|
cmd->error = -ETIMEDOUT;
|
|
else if (stat & BM_SSP_CTRL1_RESP_ERR_IRQ)
|
|
else if (stat & BM_SSP_CTRL1_RESP_ERR_IRQ)
|