From 501c3c024dae606e520df39d60288e63d0641f9a Mon Sep 17 00:00:00 2001 From: Mohan Kumar Date: Wed, 18 Apr 2018 12:02:23 +0530 Subject: [PATCH] ASoC: tegra-alt: fix dspk dapm path DAPM path for dspk driver is broken for the second playback dai. Bug 200406443 Change-Id: Ib9bf12f4cce83c07da98b2f51f1ac56b3f93762d Signed-off-by: Mohan Kumar Reviewed-on: https://git-master.nvidia.com/r/1697286 Reviewed-by: svc-mobile-coverity Reviewed-by: Sameer Pujar Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sharad Gupta Reviewed-by: mobile promotions Tested-by: mobile promotions --- sound/soc/tegra-alt/tegra186_dspk_alt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/soc/tegra-alt/tegra186_dspk_alt.c b/sound/soc/tegra-alt/tegra186_dspk_alt.c index a0288723..bc31cf60 100644 --- a/sound/soc/tegra-alt/tegra186_dspk_alt.c +++ b/sound/soc/tegra-alt/tegra186_dspk_alt.c @@ -330,15 +330,15 @@ static struct snd_soc_dai_driver tegra186_dspk_dais[] = { }; static const struct snd_soc_dapm_widget tegra186_dspk_widgets[] = { - SND_SOC_DAPM_AIF_IN("DSPK RX", NULL, 0, TEGRA186_DSPK_ENABLE, 0, 0), - SND_SOC_DAPM_AIF_OUT("DSPK TX", NULL, 0, SND_SOC_NOPM, 0, 0), + SND_SOC_DAPM_AIF_IN("DSPK TX1", NULL, 0, TEGRA186_DSPK_ENABLE, 0, 0), + SND_SOC_DAPM_AIF_IN("DSPK TX2", NULL, 0, TEGRA186_DSPK_ENABLE, 0, 0), }; static const struct snd_soc_dapm_route tegra186_dspk_routes[] = { - { "DSPK RX", NULL, "DSPK Receive Right" }, - { "DSPK TX", NULL, "DSPK RX" }, - { "DSPK Right Transmit", NULL, "DSPK TX" }, - { "DSPK Left Transmit", NULL, "DSPK TX" }, + { "DSPK TX1", NULL, "DSPK Receive Left" }, + { "DSPK Left Transmit", NULL, "DSPK TX1" }, + { "DSPK TX2", NULL, "DSPK Receive Right" }, + { "DSPK Right Transmit", NULL, "DSPK TX2" }, }; static const char * const tegra186_dspk_osr_text[] = {