@@ -134,31 +134,6 @@ static const struct snd_soc_acpi_endpoint spk_6_endpoint = {
134134 .group_id = 1 ,
135135};
136136
137- /*
138- * Multi-function codecs with three endpoints created for
139- * headset, amp and dmic functions.
140- */
141- static const struct snd_soc_acpi_endpoint rt_mf_endpoints [] = {
142- {
143- .num = 0 ,
144- .aggregated = 0 ,
145- .group_position = 0 ,
146- .group_id = 0 ,
147- },
148- {
149- .num = 1 ,
150- .aggregated = 0 ,
151- .group_position = 0 ,
152- .group_id = 0 ,
153- },
154- {
155- .num = 2 ,
156- .aggregated = 0 ,
157- .group_position = 0 ,
158- .group_id = 0 ,
159- },
160- };
161-
162137static const struct snd_soc_acpi_endpoint jack_dmic_endpoints [] = {
163138 /* Jack Endpoint */
164139 {
@@ -365,33 +340,6 @@ static const struct snd_soc_acpi_adr_device rt722_0_agg_adr[] = {
365340 }
366341};
367342
368- static const struct snd_soc_acpi_adr_device rt722_0_single_adr [] = {
369- {
370- .adr = 0x000030025d072201ull ,
371- .num_endpoints = ARRAY_SIZE (rt_mf_endpoints ),
372- .endpoints = rt_mf_endpoints ,
373- .name_prefix = "rt722"
374- }
375- };
376-
377- static const struct snd_soc_acpi_adr_device rt722_1_single_adr [] = {
378- {
379- .adr = 0x000130025d072201ull ,
380- .num_endpoints = ARRAY_SIZE (rt_mf_endpoints ),
381- .endpoints = rt_mf_endpoints ,
382- .name_prefix = "rt722"
383- }
384- };
385-
386- static const struct snd_soc_acpi_adr_device rt722_3_single_adr [] = {
387- {
388- .adr = 0x000330025d072201ull ,
389- .num_endpoints = ARRAY_SIZE (rt_mf_endpoints ),
390- .endpoints = rt_mf_endpoints ,
391- .name_prefix = "rt722"
392- }
393- };
394-
395343static const struct snd_soc_acpi_adr_device rt1320_1_group1_adr [] = {
396344 {
397345 .adr = 0x000130025D132001ull ,
@@ -479,33 +427,6 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l2_cs35l56x6_l13[] = {
479427 {}
480428};
481429
482- static const struct snd_soc_acpi_link_adr ptl_rt722_only [] = {
483- {
484- .mask = BIT (0 ),
485- .num_adr = ARRAY_SIZE (rt722_0_single_adr ),
486- .adr_d = rt722_0_single_adr ,
487- },
488- {}
489- };
490-
491- static const struct snd_soc_acpi_link_adr ptl_rt722_l1 [] = {
492- {
493- .mask = BIT (1 ),
494- .num_adr = ARRAY_SIZE (rt722_1_single_adr ),
495- .adr_d = rt722_1_single_adr ,
496- },
497- {}
498- };
499-
500- static const struct snd_soc_acpi_link_adr ptl_rt722_l3 [] = {
501- {
502- .mask = BIT (3 ),
503- .num_adr = ARRAY_SIZE (rt722_3_single_adr ),
504- .adr_d = rt722_3_single_adr ,
505- },
506- {}
507- };
508-
509430static const struct snd_soc_acpi_link_adr ptl_rt722_l0_rt1320_l23 [] = {
510431 {
511432 .mask = BIT (0 ),
@@ -698,20 +619,6 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
698619 .drv_name = "sof_sdw" ,
699620 .sof_tplg_filename = "sof-ptl-rt711.tplg" ,
700621 },
701- {
702- .link_mask = BIT (0 ),
703- .links = ptl_rt722_only ,
704- .drv_name = "sof_sdw" ,
705- .sof_tplg_filename = "sof-ptl-rt722.tplg" ,
706- .get_function_tplg_files = sof_sdw_get_tplg_files ,
707- },
708- {
709- .link_mask = BIT (1 ),
710- .links = ptl_rt722_l1 ,
711- .drv_name = "sof_sdw" ,
712- .sof_tplg_filename = "sof-ptl-rt722.tplg" ,
713- .get_function_tplg_files = sof_sdw_get_tplg_files ,
714- },
715622 {
716623 .link_mask = BIT (3 ),
717624 .links = ptl_sdw_rt712_vb_l3_rt1320_l3 ,
@@ -720,13 +627,6 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
720627 .sof_tplg_filename = "sof-ptl-rt712-l3-rt1320-l3.tplg" ,
721628 .get_function_tplg_files = sof_sdw_get_tplg_files ,
722629 },
723- {
724- .link_mask = BIT (3 ),
725- .links = ptl_rt722_l3 ,
726- .drv_name = "sof_sdw" ,
727- .sof_tplg_filename = "sof-ptl-rt722.tplg" ,
728- .get_function_tplg_files = sof_sdw_get_tplg_files ,
729- },
730630 {},
731631};
732632EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_ptl_sdw_machines );
0 commit comments