Skip to content
Commit d8b366c4 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ASoC: atmel: mchp-pdmc: Use snd_ctl_remove_id()



Use the standard snd_ctl_remove_id() helper instead of open code for
removing a kctl.  This helps for avoiding possible races.

Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230718141304.1032-4-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6eca6914
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment