diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-12 13:35:44 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-13 16:51:13 +0300 |
commit | df42cb499eb1869bfb535f6c6b5ea1406496baf4 (patch) | |
tree | 7ceabee381b36399c57dbb60d402998e3d30acc8 /sound/x86/intel_hdmi_audio.h | |
parent | e2acecf2c88370f9d7252e7a05cd7b6d43aed720 (diff) | |
download | linux-df42cb499eb1869bfb535f6c6b5ea1406496baf4.tar.xz |
ALSA: x86: Drop unused stream.running field
The pcm_stream_info.running field is only set in the PCM trigger
callback but never referred, thus it can be safely removed.
Also, properly cover the spinlock in both the trigger START and STOP
to protect had_enable_audio() calls.
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h index 8b9e184fef44..d6ba90fd011d 100644 --- a/sound/x86/intel_hdmi_audio.h +++ b/sound/x86/intel_hdmi_audio.h @@ -83,7 +83,6 @@ struct channel_map_table { struct pcm_stream_info { struct snd_pcm_substream *substream; int substream_refcount; - bool running; }; /* |