drm/i915: HDMI hot remove notification to audio driver
commit032aa01c0b53e12b3ac46db8e7202a3230a83a89
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 9 Dec 2011 12:42:20 +0000 (9 20:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:06:08 +0000 (13 11:06 -0800)
treed6fbd11f0735617c4469c93237f3e02f62518434
parent1357ed0b4b9db30846377febb40a847d6103c991
drm/i915: HDMI hot remove notification to audio driver

commit 2deed761188d7480eb5f7efbfe7aa77f09322ed8 upstream.

On HDMI monitor hot remove, clear SDVO_AUDIO_ENABLE accordingly, so that
the audio driver will receive hot plug events and take action to refresh
its device state and ELD contents.

The cleared SDVO_AUDIO_ENABLE bit needs to be restored to prevent losing
HDMI audio after DPMS on.

CC: Wang Zhenyu <zhenyu.z.wang@intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_hdmi.c