X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fmmc%2Fhost%2Fomap.c;h=a6c329040140420ab73ded04fa08c7ca9cdaa07e;hp=2e032f0e8cf47e45730d99e8f9554c688eb756b1;hb=bd355f8ae6577aa6b444ab76bb1dfeb1a7002d9f;hpb=00a2470546dd8427325636a711a42c934135dbf5 diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 2e032f0e8cf4..a6c329040140 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -832,7 +832,7 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id) 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)