Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14d435e0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 36711408 a596b7cd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}

+1 −0
Original line number Diff line number Diff line
@@ -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)