ASoC: Intel: modify SoundWire version id in acpi match table
authorBard Liao <yung-chuan.liao@linux.intel.com>
Fri, 21 Aug 2020 19:55:48 +0000 (14:55 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 24 Aug 2020 12:41:25 +0000 (13:41 +0100)
The SoundWire version id of the existing RT1308, RT711, and RT715
codecs should be 2 (index for SoundWire 1.1), it was mistakenly set as
1 which pointed to the wrong version (SoundWire 1.0).

This off-by-one error had no functional impact so far since the
version number was not used, however in future patches this version
will be required.

Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200821195603.215535-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-cml-match.c
sound/soc/intel/common/soc-acpi-intel-icl-match.c
sound/soc/intel/common/soc-acpi-intel-tgl-match.c

index dee1f0f..51535cd 100644 (file)
@@ -112,7 +112,7 @@ static const struct snd_soc_acpi_link_adr cml_rvp[] = {
 
 static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
        {
-               .adr = 0x000010025D071100,
+               .adr = 0x000020025D071100,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }
@@ -120,7 +120,7 @@ static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
        {
-               .adr = 0x000110025D130800,
+               .adr = 0x000120025D130800,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }
@@ -128,7 +128,7 @@ static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
        {
-               .adr = 0x000110025D130800,
+               .adr = 0x000120025D130800,
                .num_endpoints = 1,
                .endpoints = &spk_l_endpoint,
        }
@@ -136,7 +136,7 @@ static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt1308_2_group1_adr[] = {
        {
-               .adr = 0x000210025D130800,
+               .adr = 0x000220025D130800,
                .num_endpoints = 1,
                .endpoints = &spk_r_endpoint,
        }
@@ -144,7 +144,7 @@ static const struct snd_soc_acpi_adr_device rt1308_2_group1_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt715_3_adr[] = {
        {
-               .adr = 0x000310025D071500,
+               .adr = 0x000320025D071500,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }
index 6927bbb..ebe1319 100644 (file)
@@ -73,7 +73,7 @@ static const struct snd_soc_acpi_link_adr icl_rvp[] = {
 
 static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
        {
-               .adr = 0x000010025D071100,
+               .adr = 0x000020025D071100,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }
@@ -81,7 +81,7 @@ static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
        {
-               .adr = 0x000110025D130800,
+               .adr = 0x000120025D130800,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }
@@ -89,7 +89,7 @@ static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
        {
-               .adr = 0x000110025D130800,
+               .adr = 0x000120025D130800,
                .num_endpoints = 1,
                .endpoints = &spk_l_endpoint,
        }
@@ -97,7 +97,7 @@ static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt1308_2_group1_adr[] = {
        {
-               .adr = 0x000210025D130800,
+               .adr = 0x000220025D130800,
                .num_endpoints = 1,
                .endpoints = &spk_r_endpoint,
        }
@@ -105,7 +105,7 @@ static const struct snd_soc_acpi_adr_device rt1308_2_group1_adr[] = {
 
 static const struct snd_soc_acpi_adr_device rt715_3_adr[] = {
        {
-               .adr = 0x000310025D071500,
+               .adr = 0x000320025D071500,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }
index 2ffa608..472f58d 100644 (file)
@@ -37,7 +37,7 @@ static const struct snd_soc_acpi_endpoint spk_r_endpoint = {
 
 static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
        {
-               .adr = 0x000010025D071100,
+               .adr = 0x000020025D071100,
                .num_endpoints = 1,
                .endpoints = &single_endpoint,
        }