]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 Nov 2021 07:18:12 +0000 (08:18 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 16 Nov 2021 14:29:50 +0000 (14:29 +0000)
commit97a9a51ec1a9e807610140f2466a6d016afcba5d
tree492076801e2cde7daa43687985af57e6bf0ea427
parent6631d958620af46b7a4c50d2e8186f7c260a1508
ASoC: topology: Add missing rwsem around snd_ctl_remove() calls

snd_ctl_remove() has to be called with card->controls_rwsem held (when
called after the card instantiation).  This patch add the missing
rwsem calls around it.

Fixes: e7ff0bea0ea5 ("ASoC: topology: Add topology core")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20211116071812.18109-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c