projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9054d
)
mmc: tmio-mmc: handle mmc_of_parse() errors during probe
author
Simon Baatz
<gmbnomis@gmail.com>
Sun, 9 Jun 2013 20:14:13 +0000
(22:14 +0200)
committer
Chris Ball
<cjb@laptop.org>
Thu, 27 Jun 2013 14:22:57 +0000
(10:22 -0400)
Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/tmio_mmc_pio.c
b/drivers/mmc/host/tmio_mmc_pio.c
index
f294708
..
b72edb7
100644
(file)
--- a/
drivers/mmc/host/tmio_mmc_pio.c
+++ b/
drivers/mmc/host/tmio_mmc_pio.c
@@
-1001,7
+1001,9
@@
int tmio_mmc_host_probe(struct tmio_mmc_host **host,
if (!mmc)
return -ENOMEM;
- mmc_of_parse(mmc);
+ ret = mmc_of_parse(mmc);
+ if (ret < 0)
+ goto host_free;
pdata->dev = &pdev->dev;
_host = mmc_priv(mmc);