projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/hdmi.c
b/drivers/video/omap2/dss/hdmi.c
index 31cedbb9f9fd8e5edc4690d406074bf5d9d49128..edc28842b9fdb5cb4c937e3919c5bd89937d7e04 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;
}