aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/line6/pcm.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 14:49:22 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 07:21:00 +0100
commitf2a76225b962f00642002fb109aee2e5b0dc4259 (patch)
tree1e9da1e3e9162d8e62b5af0638e5bc13014849d8 /sound/usb/line6/pcm.h
parentALSA: line6: Fix the error recovery in line6_pcm_acquire() (diff)
downloadlinux-dev-f2a76225b962f00642002fb109aee2e5b0dc4259.tar.xz
linux-dev-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.h5
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];