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

Commit 661ced8d authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

ASoC: wcd9330: Add routing between ANC and ADCs



ADC5 and ADC6 can be connected to ANC MUX along with other
ADC inputs to use as error mic or noise mic. Add ADC5 and
ADC6 as inputs to ANC MUX for ANC(Active Noise Cancellation)
functionality on WCD9330 codec.

Change-Id: I2f297a24451ce0009d92f4a729fcb9edb4d2dc4d
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent fd854d74
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4645,6 +4645,8 @@ static const struct snd_soc_dapm_route audio_map[] = {
	{"ANC1 MUX", "ADC2", "ADC2"},
	{"ANC1 MUX", "ADC3", "ADC3"},
	{"ANC1 MUX", "ADC4", "ADC4"},
	{"ANC1 MUX", "ADC5", "ADC5"},
	{"ANC1 MUX", "ADC6", "ADC6"},
	{"ANC1 MUX", "DMIC1", "DMIC1"},
	{"ANC1 MUX", "DMIC2", "DMIC2"},
	{"ANC1 MUX", "DMIC3", "DMIC3"},
@@ -4655,6 +4657,8 @@ static const struct snd_soc_dapm_route audio_map[] = {
	{"ANC2 MUX", "ADC2", "ADC2"},
	{"ANC2 MUX", "ADC3", "ADC3"},
	{"ANC2 MUX", "ADC4", "ADC4"},
	{"ANC2 MUX", "ADC5", "ADC5"},
	{"ANC2 MUX", "ADC6", "ADC6"},
	{"ANC2 MUX", "DMIC1", "DMIC1"},
	{"ANC2 MUX", "DMIC2", "DMIC2"},
	{"ANC2 MUX", "DMIC3", "DMIC3"},