2011-05-15 17:23:02 +00:00
|
|
|
--- a/drivers/mmc/host/omap.c
|
|
|
|
+++ b/drivers/mmc/host/omap.c
|
|
|
|
@@ -832,7 +832,7 @@ static irqreturn_t mmc_omap_irq(int irq,
|
2011-02-27 17:23:58 +00:00
|
|
|
return IRQ_HANDLED;
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (end_command)
|
|
|
|
+ if (end_command && host->cmd)
|
|
|
|
mmc_omap_cmd_done(host, host->cmd);
|
|
|
|
if (host->data != NULL) {
|
|
|
|
if (transfer_error)
|