ASoC: Intel: avs-dmic: remove redundant dapm routes
authorBrent Lu <brent.lu@intel.com>
Mon, 12 Jun 2023 11:09:48 +0000 (19:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jun 2023 13:47:28 +0000 (14:47 +0100)
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: Brent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20230612110958.592674-3-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/boards/dmic.c

index 90a9216385729aae2a78ac4bab9ccbeb57efdf8b..c270646faf86c5642863d9f19a1d3429623d70dc 100644 (file)
@@ -44,8 +44,6 @@ static const struct snd_soc_dapm_widget card_widgets[] = {
 
 static const struct snd_soc_dapm_route card_routes[] = {
        {"DMic", NULL, "SoC DMIC"},
-       {"DMIC Rx", NULL, "Capture"},
-       {"DMIC WoV Rx", NULL, "Capture"},
 };
 
 static int avs_dmic_probe(struct platform_device *pdev)