ALSA: line6: Reduce superfluous spinlock in midi.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2015 11:39:11 +0000 (12:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:20:34 +0000 (07:20 +0100)
commitbc518ba4ccb487ef52e418c3ff68050cf07b3bc0
tree9d7e78126f2e8a4a1332d7df0c6975892cf9632e
parentb55004f9fdee80de1b6982b3e99ebaeb7d1e7a6c
ALSA: line6: Reduce superfluous spinlock in midi.c

The midi_transmit_lock is used always inside the send_urb_lock, thus
it doesn't play any role.  Let's kill it.  Also, rename
"send_urb_lock" as a more simple name "lock" since this is the only
lock for midi.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/midi.c
sound/usb/line6/midi.h