mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "ASoC: codecs: Deinitialize mbhc on codec remove"
This commit is contained in:
commit
14d435e07f
2 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue