mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
ASoC: Intel: sof_rt5682: board id cleanup for cml boards
Introduce "cml_rt5682_def" for cml 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-22-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2b384bcd2c
commit
61cafaeab5
@ -722,7 +722,7 @@ static const struct platform_device_id board_ids[] = {
|
||||
.name = "sof_rt5682",
|
||||
},
|
||||
{
|
||||
.name = "cml_rt1015_rt5682",
|
||||
.name = "cml_rt5682_def",
|
||||
.driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN |
|
||||
SOF_SSP_PORT_CODEC(0) |
|
||||
SOF_SSP_PORT_AMP(1)),
|
||||
|
@ -49,21 +49,21 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_cml_machines[] = {
|
||||
},
|
||||
{
|
||||
.id = "10EC5682",
|
||||
.drv_name = "cml_rt1015_rt5682",
|
||||
.drv_name = "cml_rt5682_def",
|
||||
.machine_quirk = snd_soc_acpi_codec_list,
|
||||
.quirk_data = &rt1015_spk_codecs,
|
||||
.sof_tplg_filename = "sof-cml-rt1011-rt5682.tplg",
|
||||
},
|
||||
{
|
||||
.id = "10EC5682",
|
||||
.drv_name = "sof_rt5682",
|
||||
.drv_name = "cml_rt5682_def",
|
||||
.machine_quirk = snd_soc_acpi_codec_list,
|
||||
.quirk_data = &max98357a_spk_codecs,
|
||||
.sof_tplg_filename = "sof-cml-rt5682-max98357a.tplg",
|
||||
},
|
||||
{
|
||||
.id = "10EC5682",
|
||||
.drv_name = "sof_rt5682",
|
||||
.drv_name = "cml_rt5682_def",
|
||||
.sof_tplg_filename = "sof-cml-rt5682.tplg",
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user