projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OMAP: DSS2: check for manager when enabling display
[deliverable/linux.git]
/
drivers
/
video
/
omap2
/
dss
/
sdi.c
diff --git
a/drivers/video/omap2/dss/sdi.c
b/drivers/video/omap2/dss/sdi.c
index 3a688c871a45579d8a695af71e88f91160a5e67c..df2b3c3658a2661e1a1d995247c7be5d4cf00763 100644
(file)
--- a/
drivers/video/omap2/dss/sdi.c
+++ b/
drivers/video/omap2/dss/sdi.c
@@
-55,6
+55,11
@@
int omapdss_sdi_display_enable(struct omap_dss_device *dssdev)
unsigned long pck;
int r;
+ if (dssdev->manager == NULL) {
+ DSSERR("failed to enable display: no manager\n");
+ return -ENODEV;
+ }
+
r = omap_dss_start_device(dssdev);
if (r) {
DSSERR("failed to start device\n");
This page took
0.026628 seconds
and
5
git commands to generate.