diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-07-15 09:41:43 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-15 17:10:56 +0100 |
commit | f7bbdf5bcc6ec66efa010aed77eaf5a90faf6ba5 (patch) | |
tree | 8fa54b8fd7af3e01890437ddb8c39ff11bbec6ce | |
parent | 8d38cc2997c55a877dac2672a92f221fe59e4c9e (diff) | |
download | linux-stable-f7bbdf5bcc6ec66efa010aed77eaf5a90faf6ba5.tar.gz linux-stable-f7bbdf5bcc6ec66efa010aed77eaf5a90faf6ba5.tar.bz2 linux-stable-f7bbdf5bcc6ec66efa010aed77eaf5a90faf6ba5.zip |
ASoC: Intel: sof_sdw: add quirk for HP Omen 16-k0005TX
The JD2 jack detection was selected based on similar settings from
other platforms based on RT711-SDCA.
BugLink: https://github.com/thesofproject/sof/issues/5955
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220715144144.274770-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/boards/sof_sdw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 0c47d76a79e2..12f243ef04bf 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -315,6 +315,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { RT711_JD2 | SOF_SDW_FOUR_SPK), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16-k0xxx"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2), + }, /* MeteorLake devices */ { .callback = sof_sdw_quirk_cb, |