mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 14:04:05 +08:00
ASoC: Intel: modify SoundWire version id in acpi match table
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>
This commit is contained in:
parent
fcea8b023a
commit
69a785da52
@ -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[] = {
|
static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000010025D071100,
|
.adr = 0x000020025D071100,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000110025D130800,
|
.adr = 0x000120025D130800,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000110025D130800,
|
.adr = 0x000120025D130800,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &spk_l_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt1308_2_group1_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000210025D130800,
|
.adr = 0x000220025D130800,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &spk_r_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt715_3_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000310025D071500,
|
.adr = 0x000320025D071500,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.endpoints = &single_endpoint,
|
||||||
}
|
}
|
||||||
|
@ -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[] = {
|
static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000010025D071100,
|
.adr = 0x000020025D071100,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000110025D130800,
|
.adr = 0x000120025D130800,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000110025D130800,
|
.adr = 0x000120025D130800,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &spk_l_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt1308_2_group1_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000210025D130800,
|
.adr = 0x000220025D130800,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &spk_r_endpoint,
|
.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[] = {
|
static const struct snd_soc_acpi_adr_device rt715_3_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000310025D071500,
|
.adr = 0x000320025D071500,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.endpoints = &single_endpoint,
|
||||||
}
|
}
|
||||||
|
@ -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[] = {
|
static const struct snd_soc_acpi_adr_device rt711_0_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000010025D071100,
|
.adr = 0x000020025D071100,
|
||||||
.num_endpoints = 1,
|
.num_endpoints = 1,
|
||||||
.endpoints = &single_endpoint,
|
.endpoints = &single_endpoint,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user