summaryrefslogtreecommitdiffstats
path: root/sound/usb/midi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-03-28 15:55:08 +0100
committerTakashi Iwai <tiwai@suse.de>2019-04-09 17:22:46 +0200
commit4b24b960b10b6a4e30beba3ce097fa867b4a085f (patch)
tree5125bbf3b611a39fb50413c41cdd7c310cd85d36 /sound/usb/midi.c
parentfd7ae83de11a597cbe15770382f101c784a79b1c (diff)
downloadlinux-stable-4b24b960b10b6a4e30beba3ce097fa867b4a085f.tar.gz
linux-stable-4b24b960b10b6a4e30beba3ce097fa867b4a085f.tar.bz2
linux-stable-4b24b960b10b6a4e30beba3ce097fa867b4a085f.zip
ALSA: seq: Align temporary re-locking with irqsave version
In a few places in sequencer core, we temporarily unlock / re-lock the pool spin lock while waiting for the allocation in the blocking mode. There spin_unlock_irq() / spin_lock_irq() pairs are called while initially spin_lock_irqsave() is used (and spin_lock_irqrestore() at the end of the function again). This is likely OK for now, but it's a bit confusing and error-prone. This patch replaces these temporary relocking lines with the irqsave variant to make the lock/unlock sequence more consistently. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/midi.c')
0 files changed, 0 insertions, 0 deletions