summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2024-03-27 17:24:05 +0100
committerMark Brown <broonie@kernel.org>2024-03-28 14:58:23 +0100
commit2872f3b5df54ac14adc5ea62241312d66bd001ba (patch)
treeea978ec81a4ab51a07fa1f41982cde80703446e7
parentASoC: Intel: sof_rt5682: mach cleanup for mtl boards (diff)
downloadlinux-2872f3b5df54ac14adc5ea62241312d66bd001ba.tar.xz
linux-2872f3b5df54ac14adc5ea62241312d66bd001ba.zip
ASoC: Intel: sof_cs42l42: board id cleanup for adl boards
Introduce "adl_cs42l42_def" for adl boards which implement headphone codec on SSP0 and speaker amplifiers on SSP1. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Brent Lu <brent.lu@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://msgid.link/r/20240327162408.63953-16-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/intel/boards/sof_cs42l42.c2
-rw-r--r--sound/soc/intel/common/soc-acpi-intel-adl-match.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/boards/sof_cs42l42.c b/sound/soc/intel/boards/sof_cs42l42.c
index 40ecfeaa1d26..8a2833a0e3c5 100644
--- a/sound/soc/intel/boards/sof_cs42l42.c
+++ b/sound/soc/intel/boards/sof_cs42l42.c
@@ -263,7 +263,7 @@ static const struct platform_device_id board_ids[] = {
SOF_SSP_PORT_AMP(1)),
},
{
- .name = "adl_mx98360a_cs4242",
+ .name = "adl_cs42l42_def",
.driver_data = (kernel_ulong_t)(SOF_SSP_PORT_CODEC(0) |
SOF_SSP_PORT_AMP(1) |
SOF_NUM_IDISP_HDMI(4) |
diff --git a/sound/soc/intel/common/soc-acpi-intel-adl-match.c b/sound/soc/intel/common/soc-acpi-intel-adl-match.c
index 9ac9310dd2be..7977a6fb9a5c 100644
--- a/sound/soc/intel/common/soc-acpi-intel-adl-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-adl-match.c
@@ -497,7 +497,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_machines[] = {
},
{
.id = "10134242",
- .drv_name = "adl_mx98360a_cs4242",
+ .drv_name = "adl_cs42l42_def",
.machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &adl_max98360a_amp,
.sof_tplg_filename = "sof-adl-max98360a-cs42l42.tplg",