Commit bff66275 authored by Dave Airlie's avatar Dave Airlie Committed by Greg Kroah-Hartman

udl: handle EDID failure properly.

commit 1baee586 upstream.

Don't oops seems proper.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e3a55052
......@@ -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;
}
connector->display_info.raw_edid = (char *)edid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment