Skip to content

Commit 002867b

Browse files
committed
ASoC: Intel: soc-acpi: rt713+rt1316, no sdw-dmic config
jira LE-1907 Rebuild_History Non-Buildable kernel-5.14.0-427.16.1.el9_4 commit-author Mac Chiang <mac.chiang@intel.com> commit 817178e This is additional HW board: rt713+rt1316 without rt713-dmic configuration: SDW0: rt713 audio jack SDW1: rt1316 spk_amp_l SDW2: rt1316 spk_amp_r Signed-off-by: Mac Chiang <mac.chiang@intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20231127133448.18449-5-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 817178e) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent ffb8328 commit 002867b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,25 @@ static const struct snd_soc_acpi_link_adr mtl_rt713_l0_rt1316_l12_rt1713_l3[] =
422422
{}
423423
};
424424

425+
static const struct snd_soc_acpi_link_adr mtl_rt713_l0_rt1316_l12[] = {
426+
{
427+
.mask = BIT(0),
428+
.num_adr = ARRAY_SIZE(rt713_0_single_adr),
429+
.adr_d = rt713_0_single_adr,
430+
},
431+
{
432+
.mask = BIT(1),
433+
.num_adr = ARRAY_SIZE(rt1316_1_group2_adr),
434+
.adr_d = rt1316_1_group2_adr,
435+
},
436+
{
437+
.mask = BIT(2),
438+
.num_adr = ARRAY_SIZE(rt1316_2_group2_adr),
439+
.adr_d = rt1316_2_group2_adr,
440+
},
441+
{}
442+
};
443+
425444
static const struct snd_soc_acpi_adr_device mx8363_2_adr[] = {
426445
{
427446
.adr = 0x000230019F836300ull,
@@ -507,6 +526,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_mtl_sdw_machines[] = {
507526
.drv_name = "sof_sdw",
508527
.sof_tplg_filename = "sof-mtl-rt713-l0-rt1316-l12-rt1713-l3.tplg",
509528
},
529+
{
530+
.link_mask = GENMASK(2, 0),
531+
.links = mtl_rt713_l0_rt1316_l12,
532+
.drv_name = "sof_sdw",
533+
.sof_tplg_filename = "sof-mtl-rt713-l0-rt1316-l12.tplg",
534+
},
510535
{
511536
.link_mask = BIT(3) | BIT(0),
512537
.links = mtl_712_only,

0 commit comments

Comments
 (0)