]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: Intel: bytcr_rt5640: Add quirk for the "Connect Tablet 9" tablet
authorHans de Goede <hdegoede@redhat.com>
Sun, 1 Jul 2018 09:30:23 +0000 (11:30 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 19 Jul 2018 17:08:26 +0000 (18:08 +0100)
Add a quirk for the "Connect Tablet 9" tablet, this tablet has a
mono-speaker. Otherwise it works fine with the defaults.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c

index 657910a08261b2c7a66f0ab13bee0df147a4d8aa..d32844f94d74b87243e4a16d61311d2c92121dd4 100644 (file)
@@ -486,6 +486,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
                },
                .driver_data = (void *)(BYT_RT5640_DMIC1_MAP),
        },
+       {       /* Connect Tablet 9 */
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Connect"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Tablet 9"),
+               },
+               .driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
+                                       BYT_RT5640_MONO_SPEAKER |
+                                       BYT_RT5640_SSP0_AIF1 |
+                                       BYT_RT5640_MCLK_EN),
+       },
        {
                .matches = {
                        DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),