projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/mmc/host/tmio_mmc_pio.c
b/drivers/mmc/host/tmio_mmc_pio.c
index f29470835a4fe35e54a43b059901a0092b87a2cf..b72edb72f7d269ccbeb75ff3c9193974e3d11a3e 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);