|
@@ -677,7 +677,7 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id)
|
|
|
|
|
|
|
|
if (end_cmd || ((status & CC) && host->cmd))
|
|
if (end_cmd || ((status & CC) && host->cmd))
|
|
|
mmc_omap_cmd_done(host, host->cmd);
|
|
mmc_omap_cmd_done(host, host->cmd);
|
|
|
- if (end_trans || (status & TC))
|
|
|
|
|
|
|
+ if ((end_trans || (status & TC)) && host->mrq)
|
|
|
mmc_omap_xfer_done(host, data);
|
|
mmc_omap_xfer_done(host, data);
|
|
|
|
|
|
|
|
return IRQ_HANDLED;
|
|
return IRQ_HANDLED;
|