Commit a62ffc92 authored by Vinod Koul's avatar Vinod Koul Committed by Mark Brown

ASoC: sn95031: fix the DMIC path routing

This patch makes the DMIC dynamically connect to TX Mux, earlier code had
erroneously made this as static path
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarHarsha Priya <priya.harsha@intel.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1461d063
...@@ -602,30 +602,30 @@ static const struct snd_soc_dapm_route sn95031_audio_map[] = { ...@@ -602,30 +602,30 @@ static const struct snd_soc_dapm_route sn95031_audio_map[] = {
{ "Txpath2 Capture Route", "ADC Right", "ADC Right"}, { "Txpath2 Capture Route", "ADC Right", "ADC Right"},
{ "Txpath3 Capture Route", "ADC Right", "ADC Right"}, { "Txpath3 Capture Route", "ADC Right", "ADC Right"},
{ "Txpath4 Capture Route", "ADC Right", "ADC Right"}, { "Txpath4 Capture Route", "ADC Right", "ADC Right"},
{ "Txpath1 Capture Route", NULL, "DMIC1"}, { "Txpath1 Capture Route", "DMIC1", "DMIC1"},
{ "Txpath2 Capture Route", NULL, "DMIC1"}, { "Txpath2 Capture Route", "DMIC1", "DMIC1"},
{ "Txpath3 Capture Route", NULL, "DMIC1"}, { "Txpath3 Capture Route", "DMIC1", "DMIC1"},
{ "Txpath4 Capture Route", NULL, "DMIC1"}, { "Txpath4 Capture Route", "DMIC1", "DMIC1"},
{ "Txpath1 Capture Route", NULL, "DMIC2"}, { "Txpath1 Capture Route", "DMIC2", "DMIC2"},
{ "Txpath2 Capture Route", NULL, "DMIC2"}, { "Txpath2 Capture Route", "DMIC2", "DMIC2"},
{ "Txpath3 Capture Route", NULL, "DMIC2"}, { "Txpath3 Capture Route", "DMIC2", "DMIC2"},
{ "Txpath4 Capture Route", NULL, "DMIC2"}, { "Txpath4 Capture Route", "DMIC2", "DMIC2"},
{ "Txpath1 Capture Route", NULL, "DMIC3"}, { "Txpath1 Capture Route", "DMIC3", "DMIC3"},
{ "Txpath2 Capture Route", NULL, "DMIC3"}, { "Txpath2 Capture Route", "DMIC3", "DMIC3"},
{ "Txpath3 Capture Route", NULL, "DMIC3"}, { "Txpath3 Capture Route", "DMIC3", "DMIC3"},
{ "Txpath4 Capture Route", NULL, "DMIC3"}, { "Txpath4 Capture Route", "DMIC3", "DMIC3"},
{ "Txpath1 Capture Route", NULL, "DMIC4"}, { "Txpath1 Capture Route", "DMIC4", "DMIC4"},
{ "Txpath2 Capture Route", NULL, "DMIC4"}, { "Txpath2 Capture Route", "DMIC4", "DMIC4"},
{ "Txpath3 Capture Route", NULL, "DMIC4"}, { "Txpath3 Capture Route", "DMIC4", "DMIC4"},
{ "Txpath4 Capture Route", NULL, "DMIC4"}, { "Txpath4 Capture Route", "DMIC4", "DMIC4"},
{ "Txpath1 Capture Route", NULL, "DMIC5"}, { "Txpath1 Capture Route", "DMIC5", "DMIC5"},
{ "Txpath2 Capture Route", NULL, "DMIC5"}, { "Txpath2 Capture Route", "DMIC5", "DMIC5"},
{ "Txpath3 Capture Route", NULL, "DMIC5"}, { "Txpath3 Capture Route", "DMIC5", "DMIC5"},
{ "Txpath4 Capture Route", NULL, "DMIC5"}, { "Txpath4 Capture Route", "DMIC5", "DMIC5"},
{ "Txpath1 Capture Route", NULL, "DMIC6"}, { "Txpath1 Capture Route", "DMIC6", "DMIC6"},
{ "Txpath2 Capture Route", NULL, "DMIC6"}, { "Txpath2 Capture Route", "DMIC6", "DMIC6"},
{ "Txpath3 Capture Route", NULL, "DMIC6"}, { "Txpath3 Capture Route", "DMIC6", "DMIC6"},
{ "Txpath4 Capture Route", NULL, "DMIC6"}, { "Txpath4 Capture Route", "DMIC6", "DMIC6"},
/* tx path */ /* tx path */
{ "TX1 Enable", NULL, "Txpath1 Capture Route"}, { "TX1 Enable", NULL, "Txpath1 Capture Route"},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment