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:
47e443b
)
OMAPDSS: HDMI: Make panel return dssdev register errors
author
Ricardo Neri
<ricardo.neri@ti.com>
Tue, 6 Nov 2012 06:19:13 +0000
(
00:19
-0600)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Tue, 6 Nov 2012 11:33:35 +0000
(13:33 +0200)
Do not assume blindly that the DSS driver was registered successfully.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi_panel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/hdmi_panel.c
b/drivers/video/omap2/dss/hdmi_panel.c
index a385b69a018e665fba418ebc68d7611a2f5a8e57..dfb8eda81b61d85169e55b424fa92dbc5a7ce8c5 100644
(file)
--- a/
drivers/video/omap2/dss/hdmi_panel.c
+++ b/
drivers/video/omap2/dss/hdmi_panel.c
@@
-404,9
+404,7
@@
int hdmi_panel_init(void)
spin_lock_init(&hdmi.audio_lock);
#endif
- omap_dss_register_driver(&hdmi_driver);
-
- return 0;
+ return omap_dss_register_driver(&hdmi_driver);
}
void hdmi_panel_exit(void)