Commit b3eb97b6 authored by Jani Nikula's avatar Jani Nikula
parent d3da3f40
...@@ -2102,11 +2102,11 @@ struct edid *drm_do_get_edid(struct drm_connector *connector, ...@@ -2102,11 +2102,11 @@ struct edid *drm_do_get_edid(struct drm_connector *connector,
{ {
enum edid_block_status status; enum edid_block_status status;
int j, invalid_blocks = 0; int j, invalid_blocks = 0;
struct edid *edid, *new, *override; struct edid *edid, *new;
override = drm_get_override_edid(connector); edid = drm_get_override_edid(connector);
if (override) if (edid)
return override; return edid;
edid = kmalloc(EDID_LENGTH, GFP_KERNEL); edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
if (!edid) if (!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