17 Jul
2023
17 Jul
'23
2:55 p.m.
On Mon, 17 Jul 2023 12:20:36 +0200, Oswald Buddenhagen wrote:
This is in fact more symmetrical to snd_ctl_remove() than snd_ctl_add() is - the former could be named snd_ctl_remove_locked() just as well.
FYI, the situation about snd_ctl_remove() will change. I already have patch set to make snd_ctl_remove() locking by itself, as a part of API cleanup / consistency improvements. You can find it in test/snd_ctl_remove-lock-fix branch of sound.git tree.
Takashi