mirror of https://github.com/torvalds/linux.git
ASoC: Intel: sof_sdw: Add quirk to exclude RT722 speaker
This SKU does not use the RT722 internal speaker. Add SOC_SDW_CODEC_SPKR to prevent DAI being created via codec_info_list.dais.quirk_exclude. Other SKUs continue to check higher-priority sdca_functions when the BIOS SDCA property is present. Signed-off-by: Mac Chiang <mac.chiang@intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20251111123737.246626-3-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
38ecd13840
commit
660d946ce6
|
|
@ -757,6 +757,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
|
||||||
},
|
},
|
||||||
.driver_data = (void *)(SOC_SDW_PCH_DMIC),
|
.driver_data = (void *)(SOC_SDW_PCH_DMIC),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.callback = sof_sdw_quirk_cb,
|
||||||
|
.matches = {
|
||||||
|
DMI_MATCH(DMI_SYS_VENDOR, "Google"),
|
||||||
|
DMI_MATCH(DMI_PRODUCT_NAME, "Francka"),
|
||||||
|
},
|
||||||
|
.driver_data = (void *)(SOC_SDW_CODEC_SPKR |
|
||||||
|
SOC_SDW_PCH_DMIC |
|
||||||
|
SOF_BT_OFFLOAD_SSP(2) |
|
||||||
|
SOF_SSP_BT_OFFLOAD_PRESENT),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.callback = sof_sdw_quirk_cb,
|
.callback = sof_sdw_quirk_cb,
|
||||||
.matches = {
|
.matches = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue