Uh oh!
There was an error while loading. Please reload this page.
forked from torvalds/linux
- Notifications
You must be signed in to change notification settings - Fork 150
ASoC: Intel: soc-acpi-intel-ptl-match: Remove unnecessary cs42l43 match#5773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+53
−118
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -92,48 +92,6 @@ static const struct snd_soc_acpi_endpoint spk_r_endpoint = { | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint spk_1_endpoint = { | ||
| .num = 0, | ||
| .aggregated = 1, | ||
| .group_position = 1, | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint spk_2_endpoint = { | ||
| .num = 0, | ||
| .aggregated = 1, | ||
| .group_position = 2, | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint spk_3_endpoint = { | ||
| .num = 0, | ||
| .aggregated = 1, | ||
| .group_position = 3, | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint spk_4_endpoint = { | ||
| .num = 0, | ||
| .aggregated = 1, | ||
| .group_position = 4, | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint spk_5_endpoint = { | ||
| .num = 0, | ||
| .aggregated = 1, | ||
| .group_position = 5, | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint spk_6_endpoint = { | ||
| .num = 0, | ||
| .aggregated = 1, | ||
| .group_position = 6, | ||
| .group_id = 1, | ||
| }; | ||
| static const struct snd_soc_acpi_endpoint jack_dmic_endpoints[] = { | ||
| /* Jack Endpoint */ | ||
| { | ||
| @@ -202,15 +160,6 @@ static const struct snd_soc_acpi_endpoint cs42l43_amp_spkagg_endpoints[] = { | ||
| }, | ||
| }; | ||
| static const struct snd_soc_acpi_adr_device cs42l43_2_adr[] = { | ||
| { | ||
| .adr = 0x00023001fa424301ull, | ||
| .num_endpoints = ARRAY_SIZE(cs42l43_amp_spkagg_endpoints), | ||
| .endpoints = cs42l43_amp_spkagg_endpoints, | ||
| .name_prefix = "cs42l43" | ||
| } | ||
| }; | ||
| static const struct snd_soc_acpi_adr_device cs42l43_3_agg_adr[] = { | ||
| { | ||
| .adr = 0x00033001FA424301ull, | ||
| @@ -235,48 +184,6 @@ static const struct snd_soc_acpi_adr_device cs35l56_2_lr_adr[] = { | ||
| } | ||
| }; | ||
| static const struct snd_soc_acpi_adr_device cs35l56_1_3amp_adr[] = { | ||
| { | ||
| .adr = 0x00013001fa355601ull, | ||
| .num_endpoints = 1, | ||
| .endpoints = &spk_1_endpoint, | ||
| .name_prefix = "AMP1" | ||
| }, | ||
| { | ||
| .adr = 0x00013101fa355601ull, | ||
| .num_endpoints = 1, | ||
| .endpoints = &spk_2_endpoint, | ||
| .name_prefix = "AMP2" | ||
| }, | ||
| { | ||
| .adr = 0x00013201fa355601ull, | ||
| .num_endpoints = 1, | ||
| .endpoints = &spk_3_endpoint, | ||
| .name_prefix = "AMP3" | ||
| } | ||
| }; | ||
| static const struct snd_soc_acpi_adr_device cs35l56_3_3amp_adr[] = { | ||
| { | ||
| .adr = 0x00033301fa355601ull, | ||
| .num_endpoints = 1, | ||
| .endpoints = &spk_4_endpoint, | ||
| .name_prefix = "AMP4" | ||
| }, | ||
| { | ||
| .adr = 0x00033401fa355601ull, | ||
| .num_endpoints = 1, | ||
| .endpoints = &spk_5_endpoint, | ||
| .name_prefix = "AMP5" | ||
| }, | ||
| { | ||
| .adr = 0x00033501fa355601ull, | ||
| .num_endpoints = 1, | ||
| .endpoints = &spk_6_endpoint, | ||
| .name_prefix = "AMP6" | ||
| } | ||
| }; | ||
| static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr[] = { | ||
| { | ||
| .adr = 0x000030025D071101ull, | ||
charleskeepax marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| @@ -408,25 +315,6 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_agg_l3_cs35l56_l2[] = { | ||
| {} | ||
| }; | ||
| static const struct snd_soc_acpi_link_adr ptl_cs42l43_l2_cs35l56x6_l13[] = { | ||
| { | ||
| .mask = BIT(2), | ||
| .num_adr = ARRAY_SIZE(cs42l43_2_adr), | ||
| .adr_d = cs42l43_2_adr, | ||
| }, | ||
| { | ||
| .mask = BIT(1), | ||
| .num_adr = ARRAY_SIZE(cs35l56_1_3amp_adr), | ||
| .adr_d = cs35l56_1_3amp_adr, | ||
| }, | ||
| { | ||
| .mask = BIT(3), | ||
| .num_adr = ARRAY_SIZE(cs35l56_3_3amp_adr), | ||
| .adr_d = cs35l56_3_3amp_adr, | ||
| }, | ||
| {} | ||
| }; | ||
| static const struct snd_soc_acpi_link_adr ptl_rt722_l0_rt1320_l23[] = { | ||
| { | ||
| .mask = BIT(0), | ||
| @@ -578,12 +466,6 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = { | ||
| .sof_tplg_filename = "sof-ptl-rt713-l3-rt1320-l12.tplg", | ||
| .get_function_tplg_files = sof_sdw_get_tplg_files, | ||
| }, | ||
| { | ||
| .link_mask = BIT(1) | BIT(2) | BIT(3), | ||
| .links = ptl_cs42l43_l2_cs35l56x6_l13, | ||
| .drv_name = "sof_sdw", | ||
| .sof_tplg_filename = "sof-ptl-cs42l43-l2-cs35l56x6-l13.tplg", | ||
| }, | ||
| { | ||
| .link_mask = BIT(0) | BIT(2) | BIT(3), | ||
| .links = ptl_rt722_l0_rt1320_l23, | ||
| @@ -611,6 +493,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = { | ||
| .link_mask = BIT(2) | BIT(3), | ||
| .links = ptl_cs42l43_agg_l3_cs35l56_l2, | ||
| .drv_name = "sof_sdw", | ||
| .machine_check = snd_soc_acpi_intel_no_function_topology, | ||
| .sof_tplg_filename = "sof-ptl-cs42l43-agg-l3-cs35l56-l2.tplg", | ||
| }, | ||
| { | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.