ASoC: tegra-alt: Correct DMIC numbering
Viswanath L [Fri, 24 Jul 2015 10:32:57 +0000 (15:32 +0530)]
DMIC numbering is fixed so that mixer controls are listed
with correct DMIC numbering

Bug 200108603

Change-Id: Ifdeb6cbf2e713f87867951e918cb329a5f026f36
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/774395
(cherry picked from commit c1c68e90455555c11cc9ac0b47908e041d805eaf)
Reviewed-on: http://git-master/r/782835
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

sound/soc/tegra-alt/tegra_asoc_machine_alt.c

index f71d5f0..dc35920 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * tegra_asoc_machine_alt.c - Tegra xbar dai link for machine drivers
  *
- * Copyright (c) 2014 NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2014-2015 NVIDIA CORPORATION.  All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
@@ -1709,15 +1709,15 @@ static struct snd_soc_codec_conf
                .name_prefix = "I2S5",
        },
        [TEGRA210_CODEC_DMIC1_CONF] = {
-               .dev_name = "tegra210-dmic.1",
+               .dev_name = "tegra210-dmic.0",
                .name_prefix = "DMIC1",
        },
        [TEGRA210_CODEC_DMIC2_CONF] = {
-               .dev_name = "tegra210-dmic.2",
+               .dev_name = "tegra210-dmic.1",
                .name_prefix = "DMIC2",
        },
        [TEGRA210_CODEC_DMIC3_CONF] = {
-               .dev_name = "tegra210-dmic.3",
+               .dev_name = "tegra210-dmic.2",
                .name_prefix = "DMIC3",
        },
        [TEGRA210_CODEC_SPDIF_CONF] = {