Skip to content

Commit 1885bb7

Browse files
committed
fixup! ASoC: Intel: soc-acpi-intel-lnl-match: add rt712_vb + rt1320 support
We need to use snd_soc_acpi_intel_sdca_is_device_rt712_vb to check if the rt712 is vb. Also, fix the rt1320 ADR. I was testing with an old rt1320 version with class_id = 0. But, the class_id is 1 in the production version. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 616ff0d commit 1885bb7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sound/soc/intel/common/soc-acpi-intel-lnl-match.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <sound/soc-acpi.h>
1010
#include <sound/soc-acpi-intel-match.h>
11+
#include "soc-acpi-intel-sdca-quirks.h"
1112
#include "soc-acpi-intel-sdw-mockup-match.h"
1213

1314
struct snd_soc_acpi_mach snd_soc_acpi_intel_lnl_machines[] = {
@@ -287,7 +288,7 @@ static const struct snd_soc_acpi_adr_device rt1318_2_group1_adr[] = {
287288

288289
static const struct snd_soc_acpi_adr_device rt1320_1_group1_adr[] = {
289290
{
290-
.adr = 0x000130025d132000ull,
291+
.adr = 0x000130025D132001ull,
291292
.num_endpoints = 1,
292293
.endpoints = &spk_r_endpoint,
293294
.name_prefix = "rt1320-1"
@@ -546,6 +547,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_lnl_sdw_machines[] = {
546547
.link_mask = BIT(1) | BIT(2),
547548
.links = lnl_sdw_rt712_vb_l2_rt1320_l1,
548549
.drv_name = "sof_sdw",
550+
.machine_check = snd_soc_acpi_intel_sdca_is_device_rt712_vb,
549551
.sof_tplg_filename = "sof-lnl-rt712-l2-rt1320-l1.tplg"
550552
},
551553
{},

0 commit comments

Comments
 (0)