projects
/
platform
/
kernel
/
linux-starfive.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
|
history
diff --git
a/drivers/video/omap2/dss/hdmi_panel.c
b/drivers/video/omap2/dss/hdmi_panel.c
index
a385b69
..
dfb8eda
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)