Commit c2076f4f authored by Brent Lu's avatar Brent Lu Committed by Mark Brown

ASoC: Intel: avs-dmic: remove redundant dapm routes

Two routes "DMIC Rx<-Capture" and "DMIC WoV Rx<-Capture" are created
by snd_soc_dapm_connect_dai_link_widgets() automatically. Remove the
duplicate routes.
Signed-off-by: default avatarBrent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20230612110958.592674-3-brent.lu@intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 530ca0a7
...@@ -44,8 +44,6 @@ static const struct snd_soc_dapm_widget card_widgets[] = { ...@@ -44,8 +44,6 @@ static const struct snd_soc_dapm_widget card_widgets[] = {
static const struct snd_soc_dapm_route card_routes[] = { static const struct snd_soc_dapm_route card_routes[] = {
{"DMic", NULL, "SoC DMIC"}, {"DMic", NULL, "SoC DMIC"},
{"DMIC Rx", NULL, "Capture"},
{"DMIC WoV Rx", NULL, "Capture"},
}; };
static int avs_dmic_probe(struct platform_device *pdev) static int avs_dmic_probe(struct platform_device *pdev)
......
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