Skip to content

Commit c7f74e8

Browse files
bardliaoranj063
authored andcommitted
ASoC: soc-acpi-intel-ptl-match: use aggregated endpoint in ptl_rt722_l0_rt1320_l23
The rt722 amp and rt1320 amps are aggregated in this case. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 4628d7e commit c7f74e8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,15 @@ static const struct snd_soc_acpi_link_adr ptl_rt721_l3[] = {
383383
{},
384384
};
385385

386+
static const struct snd_soc_acpi_adr_device rt722_0_agg_adr[] = {
387+
{
388+
.adr = 0x000030025d072201ull,
389+
.num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
390+
.endpoints = jack_amp_g1_dmic_endpoints,
391+
.name_prefix = "rt722"
392+
}
393+
};
394+
386395
static const struct snd_soc_acpi_adr_device rt722_0_single_adr[] = {
387396
{
388397
.adr = 0x000030025d072201ull,
@@ -536,8 +545,8 @@ static const struct snd_soc_acpi_link_adr ptl_rt722_l3[] = {
536545
static const struct snd_soc_acpi_link_adr ptl_rt722_l0_rt1320_l23[] = {
537546
{
538547
.mask = BIT(0),
539-
.num_adr = ARRAY_SIZE(rt722_0_single_adr),
540-
.adr_d = rt722_0_single_adr,
548+
.num_adr = ARRAY_SIZE(rt722_0_agg_adr),
549+
.adr_d = rt722_0_agg_adr,
541550
},
542551
{
543552
.mask = BIT(2),

0 commit comments

Comments
 (0)