1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 12:26:27 +02:00
openwrt-xburst/target/linux/omap24xx/patches-2.6.38/811-mmc-null-ptr-fix.patch

12 lines
291 B
Diff
Raw Normal View History

--- 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)