]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: Intel: sof_sdw: add SKU for Dell Latitude 9520
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 27 Oct 2021 02:18:17 +0000 (10:18 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Nov 2021 13:26:52 +0000 (13:26 +0000)
Different SKUs seem to be used for the same design.

BugLink: https://github.com/thesofproject/linux/issues/3206
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20211027021824.24776-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index c5b1a1621fb5c96b3f257e147fd651ef28c8f5ab..1c6c22cb7cab8c07a42e3acf0742caf17936136d 100644 (file)
@@ -129,6 +129,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                                        RT711_JD2 |
                                        SOF_RT715_DAI_ID_FIX),
        },
+       {
+               /* another SKU of Dell Latitude 9520 */
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A3F")
+               },
+               .driver_data = (void *)(SOF_SDW_TGL_HDMI |
+                                       RT711_JD2 |
+                                       SOF_RT715_DAI_ID_FIX),
+       },
        {
                /* Dell XPS 9710 */
                .callback = sof_sdw_quirk_cb,