projects
/
wrapfs-3.8.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea692a
)
udl: handle EDID failure properly.
author
Dave Airlie
<airlied@gmail.com>
Fri, 12 Apr 2013 03:25:20 +0000
(13:25 +1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 04:48:29 +0000
(21:48 -0700)
commit
1baee58638fc58248625255f5c5fcdb987f11b1f
upstream.
Don't oops seems proper.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/udl/udl_connector.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/udl/udl_connector.c
b/drivers/gpu/drm/udl/udl_connector.c
index fe5cdbcf263605b7b5ec853b4d5f354f7c754b13..b44d548c56f8e43a3e14878622c8f8ed3507bf35 100644
(file)
--- a/
drivers/gpu/drm/udl/udl_connector.c
+++ b/
drivers/gpu/drm/udl/udl_connector.c
@@
-61,6
+61,10
@@
static int udl_get_modes(struct drm_connector *connector)
int ret;
edid = (struct edid *)udl_get_edid(udl);
+ if (!edid) {
+ drm_mode_connector_update_edid_property(connector, NULL);
+ return 0;
+ }
/*
* We only read the main block, but if the monitor reports extension