a8eaaf8dde5d5251681d6876596a3439701f7c0d
[openwrt.git] / target / linux / omap24xx / patches-2.6.38 / 811-mmc-null-ptr-fix.patch
1 Index: linux-2.6.38-rc6/drivers/mmc/host/omap.c
2 ===================================================================
3 --- linux-2.6.38-rc6.orig/drivers/mmc/host/omap.c 2011-02-27 16:56:51.714348509 +0100
4 +++ linux-2.6.38-rc6/drivers/mmc/host/omap.c 2011-02-27 16:57:30.796529124 +0100
5 @@ -832,7 +832,7 @@
6 return IRQ_HANDLED;
7 }
8
9 - if (end_command)
10 + if (end_command && host->cmd)
11 mmc_omap_cmd_done(host, host->cmd);
12 if (host->data != NULL) {
13 if (transfer_error)
This page took 0.048398 seconds and 3 git commands to generate.