ASoC: Intel: boards: fix off-by-one dailink id
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 12 Oct 2017 23:38:04 +0000 (18:38 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 18 Oct 2017 11:30:25 +0000 (12:30 +0100)
For some reason the Atom/HiFi2 machine drivers use an id=1 instead
of zero as done on all other platforms. This gets in the way of
topology-based matching, realign for consistency. This should
not have any functional impact on existing solutions with don't rely
on topology.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcht_da7213.c
sound/soc/intel/boards/bytcht_es8316.c
sound/soc/intel/boards/bytcht_nocodec.c
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/cht_bsw_max98090_ti.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/intel/boards/cht_bsw_rt5672.c

index 24070bc06040b1666a3af2c125f783b6ce10343e..28a493e5318d072e60015257a3d6c7db3cd45d9d 100644 (file)
@@ -197,7 +197,7 @@ static struct snd_soc_dai_link dailink[] = {
        /* back ends */
        {
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index 9ed4400c13b8ed322c0504a16558d985712e2947..808e825c3b059728834e8f23a2a8a905179eae94 100644 (file)
@@ -209,7 +209,7 @@ static struct snd_soc_dai_link byt_cht_es8316_dais[] = {
                 * require SSP0 will not work.
                 */
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index 1dd9441806fa31d02c7d3808a35d2d3e8fd304f1..511e87601104930b2ec06df2d29f3f945ce77b9b 100644 (file)
@@ -145,7 +145,7 @@ static struct snd_soc_dai_link dais[] = {
        /* back ends */
        {
                .name = "SSP2-LowSpeed Connector",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index 339842adceed54cee03fcca6edcc4a3ec4db5b5f..6c7b71d7fed7adecd8de715c02d201c34c1523a6 100644 (file)
@@ -690,7 +690,7 @@ static struct snd_soc_dai_link byt_rt5640_dais[] = {
                /* back ends */
        {
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port", /* overwritten for ssp0 routing */
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index dc158466bd92fb8cd82e2d075e040a40e54a3b03..e0caee26fb0abd2fbd14ab4f1c14450a931ba423 100644 (file)
@@ -401,7 +401,7 @@ static struct snd_soc_dai_link byt_rt5651_dais[] = {
        /* back ends */
        {
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index c2e3b00ec89d01902bc7684ae07436afc01086a2..a2194d9936152b82f50ce46e53766c33175e704f 100644 (file)
@@ -361,7 +361,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
        /* back ends */
        {
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index 546f4abf2562e2f9f3398bed3108500c6d5ac3c6..1901b3b8f4d24b1755745185740d5a072a713876 100644 (file)
@@ -457,7 +457,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
        /* back ends */
        {
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
index 1dffe76d5a852303f0f8bfc5eb0770ba6fc918aa..3464cf41c7d15be79ccba54272947750e6baa336 100644 (file)
@@ -315,7 +315,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
        {
                /* SSP2 - Codec */
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,