drm/i915/hdmi, dp: Do not dereference the encoder in the connector destroy
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Sep 2014 20:43:45 +0000 (21:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:41:12 +0000 (14:41 +0200)
commit10e972d3f6dd77e009611c4bfeed02fa9827d0d6
treebdeda3f1d33e0890614f929f1a0a1878c76e865c
parentd6feb1962d08890080cbce080a3d73e1035f0a3d
drm/i915/hdmi, dp: Do not dereference the encoder in the connector destroy

Oops, apparently intel_hdmi/intel_dp is the encoder - an object with a
distinct lifetime to the connector, and so we cannot simply reuse the
common function to unset and free the edid.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hdmi.c