diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-04-15 09:03:01 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-04-15 12:04:31 +0200 |
commit | b5fd12d6c0fc64c2c2b5ae095e63824083d27151 (patch) | |
tree | 647c1b3d5b8f48e06e19ec148105438f3a6790c8 /sound/pci | |
parent | ALSA: usb-audio: Add quirk for Focusrite Scarlett Solo (diff) | |
download | linux-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