Root/target/linux/omap24xx/patches-2.6.38/811-mmc-null-ptr-fix.patch

1--- a/drivers/mmc/host/omap.c
2+++ b/drivers/mmc/host/omap.c
3@@ -832,7 +832,7 @@ static irqreturn_t mmc_omap_irq(int irq,
4         return IRQ_HANDLED;
5     }
6 
7- if (end_command)
8+ if (end_command && host->cmd)
9         mmc_omap_cmd_done(host, host->cmd);
10     if (host->data != NULL) {
11         if (transfer_error)
12

Archive Download this file



interactive