summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-04-15 09:03:01 +0200
committerTakashi Iwai <tiwai@suse.de>2019-04-15 12:04:31 +0200
commitb5fd12d6c0fc64c2c2b5ae095e63824083d27151 (patch)
tree647c1b3d5b8f48e06e19ec148105438f3a6790c8 /sound/pci
parentALSA: usb-audio: Add quirk for Focusrite Scarlett Solo (diff)
downloadlinux-b5fd12d6c0fc64c2c2b5ae095e63824083d27151.tar.xz
linux-b5fd12d6c0fc64c2c2b5ae095e63824083d27151.zip
ALSA: seq: Correct unlock sequence at snd_seq_client_ioctl_unlock()
The doubly unlock sequence at snd_seq_client_ioctl_unlock() is tricky. I took a direct unref call since I thought it would avoid misunderstanding, but rather this seems more confusing. Let's use snd_seq_client_unlock() consistently even if they look strange to be called twice, and add more comments for avoiding reader's confusion. Fixes: 6b580f523172 ("ALSA: seq: Protect racy pool manipulation from OSS sequencer") Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions