ASoC: Intel: Skylake: Add route change to nau88l25_max98357a machine
authorJeeja KP <jeeja.kp@intel.com>
Mon, 6 Feb 2017 06:39:15 +0000 (12:09 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 8 Feb 2017 18:23:35 +0000 (18:23 +0000)
To support MST moved pin to port, this changes the routes based on
port. So change the route in nau88l25_max98357a machine.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/skl_nau88l25_max98357a.c

index fddd1cd12f1316206958328547300208bacc16b7..bb41968677521354819efaf2242b9499b042ca40 100644 (file)
@@ -111,8 +111,8 @@ static const struct snd_soc_dapm_widget skylake_widgets[] = {
        SND_SOC_DAPM_MIC("Headset Mic", NULL),
        SND_SOC_DAPM_SPK("Spk", NULL),
        SND_SOC_DAPM_MIC("SoC DMIC", NULL),
-       SND_SOC_DAPM_SPK("DP", NULL),
-       SND_SOC_DAPM_SPK("HDMI", NULL),
+       SND_SOC_DAPM_SPK("DP1", NULL),
+       SND_SOC_DAPM_SPK("DP2", NULL),
        SND_SOC_DAPM_SUPPLY("Platform Clock", SND_SOC_NOPM, 0, 0,
                        platform_clock_control, SND_SOC_DAPM_PRE_PMU |
                        SND_SOC_DAPM_POST_PMD),
@@ -130,8 +130,8 @@ static const struct snd_soc_dapm_route skylake_map[] = {
        { "MIC", NULL, "Headset Mic" },
        { "DMic", NULL, "SoC DMIC" },
 
-       {"HDMI", NULL, "hif5 Output"},
-       {"DP", NULL, "hif6 Output"},
+       {"DP1", NULL, "hif5-0 Output"},
+       {"DP2", NULL, "hif6-0 Output"},
 
        /* CODEC BE connections */
        { "HiFi Playback", NULL, "ssp0 Tx" },