diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-10-11 09:01:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-10-11 09:02:32 +0200 |
commit | a70aef7982b012e86dfd39fbb235e76a21ae778a (patch) | |
tree | fdac27bfc2c9ddf247f01d7bcb4442ab1104701a /crypto/akcipher.c | |
parent | 4f2e56a59b9947b3e698d3cabcb858765c12b1e8 (diff) |
ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
The register_mutex taken around the dev_unregister callback call in
snd_rawmidi_free() may potentially lead to a mutex deadlock, when OSS
emulation and a hot unplug are involved.
Since the mutex doesn't protect the actual race (as the registration
itself is already protected by another means), let's drop it.
Link: https://lore.kernel.org/r/CAB7eexJP7w1B0mVgDF0dQ+gWor7UdkiwPczmL7pn91xx8xpzOA@mail.gmail.com
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221011070147.7611-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/akcipher.c')
0 files changed, 0 insertions, 0 deletions