]> 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)
commit996a7d6b363b9b407cd2311940db40c9cb642592
tree7ceabee381b36399c57dbb60d402998e3d30acc8
parent32c91b5562a9fb9079f6ad8307778a0dcf23a870
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