projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
16b9ca6fe20f4f48f5580b08e6d1c39fe1d178f6
[librecmc/librecmc.git]
/
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)