Merge "ASoC: codecs: Deinitialize mbhc on codec remove"

This commit is contained in:
qctecmdr 2022-09-15 08:43:47 -07:00 • committed by Gerrit - the friendly Code Review server
commit 14d435e07f
2 changed files with 3 additions and 0 deletions

View file

@ -2961,6 +2961,8 @@ static void wcd937x_soc_codec_remove(struct snd_soc_component *component)
wcd937x->register_notifier(wcd937x->handle,
&wcd937x->nblock,
false);
wcd937x_mbhc_deinit(component);
return;
}

View file

@ -3961,6 +3961,7 @@ static void wcd938x_soc_codec_remove(struct snd_soc_component *component)
wcd938x->register_notifier(wcd938x->handle,
&wcd938x->nblock,
false);
wcd938x_mbhc_deinit(component);
}
static int wcd938x_soc_codec_suspend(struct snd_soc_component *component)