drm/i915: dont trigger hotplug events on unchanged ELD
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 9 Dec 2011 12:42:19 +0000 (20:42 +0800)
committerKeith Packard <keithp@keithp.com>
Tue, 20 Dec 2011 03:15:48 +0000 (19:15 -0800)
commit3a9627f4fbb0ec2e8f6c8a17a589b659873ee04e
tree89a8127dccca6b2b6869e164435fd793b71fab8b
parent1202b4c6782e57a71c4b162a51a4e7ad8402a950
drm/i915: dont trigger hotplug events on unchanged ELD

The ELD may or may not change when switching the video mode.
If unchanged, don't trigger hot plug events to HDMI audio driver.

This avoids disturbing the user with repeated printks.

Reported-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c