]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd900af9fc2191239528ce603610fe3a0b24aaf63
tree7ceabee381b36399c57dbb60d402998e3d30acc8
parent6a935c0b9bdea2af2a9c7fea9135d1f32b312b31
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