diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-17 09:50:07 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-18 11:19:45 (GMT) |
commit | c121b15244c53637c3e9ca608b8816abcfbe2f8e (patch) | |
tree | 9747a1c28fb9ab9950fb2c77adbd5c84a50adf71 /drivers/video | |
parent | e020f9af6d8311cd935217219f49175e161be100 (diff) | |
download | linux-c121b15244c53637c3e9ca608b8816abcfbe2f8e.tar.xz |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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; } |