ALSA: x86: Drop unused stream.running field
authorTakashi Iwai <tiwai@suse.de>
Sun, 12 Feb 2017 10:35:44 +0000 (11:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Feb 2017 13:51:13 +0000 (14:51 +0100)
commitdf42cb499eb1869bfb535f6c6b5ea1406496baf4
tree7ceabee381b36399c57dbb60d402998e3d30acc8
parente2acecf2c88370f9d7252e7a05cd7b6d43aed720
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>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_audio.h