]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: Intel: bytcr_rt5640: Add quirk for the ARCHOS 80 Cesium 8" windows tablet
authorHans de Goede <hdegoede@redhat.com>
Mon, 28 May 2018 20:26:49 +0000 (22:26 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 29 May 2018 13:56:17 +0000 (14:56 +0100)
Add a quirk for the ARCHOS 80 Cesium 8" windows tablet, this device mostly
works with the default settings, except that it has only one speaker.
So add a quirk with the default settings + the mono-speaker flag.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-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 b0eec0a9b7b974770b69d9eabc73ff9888487152..33065ba294a93b3a69f6bf814443483e6e26cc4f 100644 (file)
@@ -419,6 +419,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
                                                 BYT_RT5640_SSP0_AIF1),
 
        },
+       {
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ARCHOS 80 Cesium"),
+               },
+               .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, "ASUSTeK COMPUTER INC."),