drm/i915: Do not free the passed EDID in intel_connector_update_modes()
authorJani Nikula <jani.nikula@intel.com>
Fri, 19 Oct 2012 11:51:51 +0000 (14:51 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Oct 2012 17:33:46 +0000 (19:33 +0200)
commitebda95a9965dc6641deacc57ac480e01a378e19b
tree41d09b6e271cd9d45306c91680d8f98f3e2e231b
parentdd06f90ee880c61a534ccbe07bd30a8a7d7f7567
drm/i915: Do not free the passed EDID in intel_connector_update_modes()

The caller, not intel_connector_update_modes(), should free the edid. This
improves the reusability of intel_connector_update_modes().

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_modes.c