projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a06b0
)
OMAPDSS: HDMI: Uninit display on device add error
author
Ricardo Neri
<ricardo.neri@ti.com>
Tue, 6 Nov 2012 06:19:15 +0000
(
00:19
-0600)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Tue, 6 Nov 2012 11:33:36 +0000
(13:33 +0200)
The display must be uninitialized in order to free the requested GPIOs.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/hdmi.c
b/drivers/video/omap2/dss/hdmi.c
index
31cedbb
..
edc2884
100644
(file)
--- a/
drivers/video/omap2/dss/hdmi.c
+++ b/
drivers/video/omap2/dss/hdmi.c
@@
-1025,6
+1025,7
@@
static void __init hdmi_probe_pdata(struct platform_device *pdev)
r = dss_add_device(dssdev);
if (r) {
DSSERR("device %s register failed: %d\n", dssdev->name, r);
+ hdmi_uninit_display(dssdev);
dss_put_device(dssdev);
return;
}