summaryrefslogtreecommitdiffstats
path: root/sound/last.c
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/last.c
parent46f5710f0b8829882faea735149d86250db5d0e5 (diff)
downloadlinux-stable-b5fd12d6c0fc64c2c2b5ae095e63824083d27151.tar.gz
linux-stable-b5fd12d6c0fc64c2c2b5ae095e63824083d27151.tar.bz2
linux-stable-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/last.c')
0 files changed, 0 insertions, 0 deletions