Skip to content

Commit f77ae7f

Browse files
bardliaobroonie
authored andcommitted
ASoC: Intel: soc-acpi-intel-mtl-match: add cs42l43 only support
cs42l43 is on link 0. No amp in this configuration, will use cs42l43 speaker or bridge. Signed-off-by: Bard Liao <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent eed8673 commit f77ae7f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,14 @@ static const struct snd_soc_acpi_link_adr cs42l42_link0_max98363_link2[] = {
668668
{}
669669
};
670670

671+
static const struct snd_soc_acpi_link_adr mtl_cs42l43_l0[] = {
672+
{
673+
.mask = BIT(0),
674+
.num_adr = ARRAY_SIZE(cs42l43_0_adr),
675+
.adr_d = cs42l43_0_adr,
676+
},
677+
};
678+
671679
static const struct snd_soc_acpi_link_adr mtl_cs42l43_cs35l56[] = {
672680
{
673681
.mask = BIT(0),
@@ -782,6 +790,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_mtl_sdw_machines[] = {
782790
.drv_name = "sof_sdw",
783791
.sof_tplg_filename = "sof-mtl-cs42l43-l0-cs35l56-l12.tplg",
784792
},
793+
{
794+
.link_mask = BIT(0),
795+
.links = mtl_cs42l43_l0,
796+
.drv_name = "sof_sdw",
797+
.sof_tplg_filename = "sof-mtl-cs42l43-l0.tplg",
798+
},
785799
{
786800
.link_mask = GENMASK(3, 0),
787801
.links = mtl_3_in_1_sdca,

0 commit comments

Comments
 (0)