Skip to content

Commit f4eeaed

Browse files
cujomalaineybroonie
authored andcommitted
ASoC: Intel: Fix platform ID matching
Sparse warnings triggered truncating the IDs of some platform device tables. Unfortunately some of the IDs in the match tables were missed which breaks audio. The KBL change has been verified to fix audio, the CML change was not tested as it was found through grepping the broken changes and found to match the same situation in anticipation that it should also be fixed. Fixes: 94efd72 ("ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters") Fixes: 24e46fb ("ASoC: Intel: bxt_da7219_max98357a: shrink platform_id below 20 characters") Signed-off-by: Curtis Malainey <[email protected]> Tested-by: Matt Davis <[email protected]> Reviewed-by: Cezary Rojewski <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent e5ada3f commit f4eeaed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_cml_machines[] = {
7575
},
7676
{
7777
.id = "DLGS7219",
78-
.drv_name = "cml_da7219_max98357a",
78+
.drv_name = "cml_da7219_mx98357a",
7979
.machine_quirk = snd_soc_acpi_codec_list,
8080
.quirk_data = &max98390_spk_codecs,
8181
.sof_fw_filename = "sof-cml.ri",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[] = {
8787
},
8888
{
8989
.id = "DLGS7219",
90-
.drv_name = "kbl_da7219_max98357a",
90+
.drv_name = "kbl_da7219_mx98357a",
9191
.fw_filename = "intel/dsp_fw_kbl.bin",
9292
.machine_quirk = snd_soc_acpi_codec_list,
9393
.quirk_data = &kbl_7219_98357_codecs,

0 commit comments

Comments
 (0)