summaryrefslogtreecommitdiffstats
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-14 12:29:38 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-16 09:22:42 +0100
commitb9bacf275ca2eeb8e8fa85c1705d07e2475f1aaa (patch)
tree2f82ca43e5aca879e69ccde21c50b6c3bf701382 /sound/x86/intel_hdmi_audio.h
parent9f1bc2c4c58fcb2d86e0e26437dc8f3a18ac3276 (diff)
downloadblackbird-op-linux-b9bacf275ca2eeb8e8fa85c1705d07e2475f1aaa.tar.gz
blackbird-op-linux-b9bacf275ca2eeb8e8fa85c1705d07e2475f1aaa.zip
ALSA: x86: Implement jack control
This patch implements a jack interface for notifying HDMI/DP connection. PA listens to this, so it can handle the monitor connection more gracefully. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r--sound/x86/intel_hdmi_audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index d6ba90fd011d..2d3e389f76b3 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -130,6 +130,7 @@ struct snd_intelhad {
struct work_struct hdmi_audio_wq;
struct mutex mutex; /* for protecting chmap and eld */
bool need_reset;
+ struct snd_jack *jack;
};
#endif /* _INTEL_HDMI_AUDIO_ */
OpenPOWER on IntegriCloud