summaryrefslogtreecommitdiffstats
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-01 17:37:36 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-03 17:35:17 +0100
commitd0e9b1a23ca3dbe24e88c6671218b9031e37db96 (patch)
treed712e5ebe938e37afeda664dd09163a5b4712b8c /sound/x86/intel_hdmi_audio.h
parent8f8d1d7fe009c320d80ed1c7b0c1d3d48b538965 (diff)
downloadblackbird-op-linux-d0e9b1a23ca3dbe24e88c6671218b9031e37db96.tar.gz
blackbird-op-linux-d0e9b1a23ca3dbe24e88c6671218b9031e37db96.zip
ALSA: x86: Drop flag_underrun field
The flag_underrun flag is used to indicate to escalate the XRUN reporting at the next position inquiry, but there is a much simpler method to achieve it: just call snd_pcm_stop_xrun(). 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, 0 insertions, 1 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index be24682e3946..945f6831f1dd 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -123,7 +123,6 @@ struct snd_intelhad {
enum intel_had_aud_buf_type curr_buf;
int valid_buf_cnt;
unsigned int aes_bits;
- bool flag_underrun;
struct had_stream_data stream_data;
spinlock_t had_spinlock;
enum intel_had_aud_buf_type buff_done;
OpenPOWER on IntegriCloud