diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-23 14:49:22 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 07:21:00 +0100 |
commit | f2a76225b962f00642002fb109aee2e5b0dc4259 (patch) | |
tree | 1e9da1e3e9162d8e62b5af0638e5bc13014849d8 /sound/usb/line6/pcm.h | |
parent | ALSA: line6: Fix the error recovery in line6_pcm_acquire() (diff) | |
download | linux-f2a76225b962f00642002fb109aee2e5b0dc4259.tar.xz linux-f2a76225b962f00642002fb109aee2e5b0dc4259.zip |
ALSA: line6: Drop superfluous spinlock for trigger
The trigger callback is already spinlocked, so we need no more lock
here (even for the linked substreams). Let's drop it.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/pcm.h')
-rw-r--r-- | sound/usb/line6/pcm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/usb/line6/pcm.h b/sound/usb/line6/pcm.h index c742b33666eb..a84753ee0fa2 100644 --- a/sound/usb/line6/pcm.h +++ b/sound/usb/line6/pcm.h @@ -308,11 +308,6 @@ struct snd_line6_pcm { spinlock_t lock_audio_in; /** - Spin lock to protect trigger. - */ - spinlock_t lock_trigger; - - /** PCM playback volume (left and right). */ int volume_playback[2]; |