ASoC: Intel: sof_da7219: board id cleanup for adl boards
authorBrent Lu <brent.lu@intel.com>
Mon, 25 Mar 2024 22:10:54 +0000 (17:10 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 22:45:03 +0000 (22:45 +0000)
Introduce "adl_da7219_def" board to reduce the number of jsl board
configs. This config could support all 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/20240325221059.206042-17-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_da7219.c
sound/soc/intel/common/soc-acpi-intel-adl-match.c

index 3057798a0dcad90021baacd0b3072c1a7755d7e0..0da7aa2e31c298eccdf934258b2b22d86ee011bc 100644 (file)
@@ -381,7 +381,7 @@ static const struct platform_device_id board_ids[] = {
                                        SOF_SSP_PORT_AMP(1)),
        },
        {
-               .name = "adl_mx98360_da7219",
+               .name = "adl_da7219_def",
                .driver_data = (kernel_ulong_t)(SOF_DA7219_MCLK_EN |
                                        SOF_SSP_PORT_CODEC(0) |
                                        SOF_SSP_PORT_AMP(1) |
index 0da79a3ba1f0b0c8d531c608e579a329a7fcdee2..6c710e9a26f193852e248435ea90b2aa1516c588 100644 (file)
@@ -616,7 +616,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_machines[] = {
        },
        {
                .id = "DLGS7219",
-               .drv_name = "adl_mx98360_da7219",
+               .drv_name = "adl_da7219_def",
                .machine_quirk = snd_soc_acpi_codec_list,
                .quirk_data = &adl_max98360a_amp,
                .sof_tplg_filename = "sof-adl-max98360a-da7219.tplg",