summaryrefslogtreecommitdiff
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-01 19:53:19 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-03 19:35:35 +0300
commit0e9c67d7c88ce7054288e3b61deb09bfa59f8920 (patch)
tree8077164137a6d7978f8ee808d575b573bc9fad45 /sound/x86/intel_hdmi_audio.h
parentd0e9b1a23ca3dbe24e88c6671218b9031e37db96 (diff)
downloadlinux-0e9c67d7c88ce7054288e3b61deb09bfa59f8920.tar.xz
ALSA: x86: Drop superfluous state field
The state field keeps the connection state and it's basically as same as drv_status field. Drop this redundancy. 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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index 945f6831f1dd..258396e61829 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -129,7 +129,6 @@ struct snd_intelhad {
struct device *dev;
struct snd_pcm_chmap *chmap;
int underrun_count;
- enum hdmi_connector_status state;
int tmds_clock_speed;
int link_rate;
@@ -138,7 +137,7 @@ struct snd_intelhad {
void __iomem *mmio_start;
unsigned int had_config_offset;
struct work_struct hdmi_audio_wq;
- struct mutex mutex; /* for protecting chmap, state and eld */
+ struct mutex mutex; /* for protecting chmap and eld */
};
#endif /* _INTEL_HDMI_AUDIO_ */