Home
last modified time | relevance | path

Searched hist:b5fd12d6c0fc64c2c2b5ae095e63824083d27151 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/core/seq/
H A Dseq_clientmgr.cdiff b5fd12d6c0fc64c2c2b5ae095e63824083d27151 Mon Apr 15 02:03:01 CDT 2019 Takashi Iwai <tiwai@suse.de> 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>