projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e020f9a
)
OMAP: DSS2: fix driver probe error handling
author
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Wed, 17 Feb 2010 09:50:07 +0000
(11:50 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Thu, 18 Feb 2010 11:19:45 +0000
(13:19 +0200)
If driver's probe failed, the uninit was not called.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/core.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/core.c
b/drivers/video/omap2/dss/core.c
index 967cbda1fd72ab1aef46ff0e3f25a0cf3c952652..39b1a20a298c8ddd1bfe60627da60fbe415a5dc6 100644
(file)
--- a/
drivers/video/omap2/dss/core.c
+++ b/
drivers/video/omap2/dss/core.c
@@
-778,6
+778,7
@@
static int dss_driver_probe(struct device *dev)
if (r) {
DSSERR("driver probe failed: %d\n", r);
+ dss_uninit_device(core.pdev, dssdev);
return r;
}