You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
--- a/drivers/mmc/host/omap.c
|
|
+++ b/drivers/mmc/host/omap.c
|
|
@@ -832,7 +832,7 @@ static irqreturn_t mmc_omap_irq(int irq,
|
|
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)
|
|
|