commit | c121b15244c53637c3e9ca608b8816abcfbe2f8e | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | Wed Feb 17 11:50:07 2010 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | Thu Feb 18 13:19:45 2010 +0200 |
tree | 9747a1c28fb9ab9950fb2c77adbd5c84a50adf71 | |
parent | e020f9af6d8311cd935217219f49175e161be100 [diff] |
OMAP: DSS2: fix driver probe error handling If driver's probe failed, the uninit was not called. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 967cbda..39b1a20 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c
@@ -778,6 +778,7 @@ if (r) { DSSERR("driver probe failed: %d\n", r); + dss_uninit_device(core.pdev, dssdev); return r; }