Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: Intel: Atom: Add support for HP ElitePad 1000 G2

The BIOS for the HP ElitePad 1000 G2 uses an unexpected HID,
(INTCCFFD), add it to the white list of knowns HIDs.

Signed-off-by: Jorge Fernandez Monteagudo <jorgefm@cirsa.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jorge Fernandez Monteagudo and committed by
Mark Brown
55fc2056 7762ef42

+11 -1
+1
sound/soc/codecs/rt5640.c
··· 2277 2277 { "INT33CA", 0 }, 2278 2278 { "10EC5640", 0 }, 2279 2279 { "10EC5642", 0 }, 2280 + { "INTCCFFD", 0 }, 2280 2281 { }, 2281 2282 }; 2282 2283 MODULE_DEVICE_TABLE(acpi, rt5640_acpi_match);
+2 -1
sound/soc/intel/atom/sst/sst_acpi.c
··· 325 325 &byt_rvp_platform_data }, 326 326 {"10EC5642", "bytcr_rt5640", "intel/fw_sst_0f28.bin", "bytcr_rt5640", NULL, 327 327 &byt_rvp_platform_data }, 328 + {"INTCCFFD", "bytcr_rt5640", "intel/fw_sst_0f28.bin", "bytcr_rt5640", NULL, 329 + &byt_rvp_platform_data }, 328 330 {"10EC5651", "bytcr_rt5651", "intel/fw_sst_0f28.bin", "bytcr_rt5651", NULL, 329 331 &byt_rvp_platform_data }, 330 - 331 332 {}, 332 333 }; 333 334
+8
sound/soc/intel/boards/bytcr_rt5640.c
··· 141 141 .driver_data = (unsigned long *)(BYT_RT5640_DMIC2_MAP | 142 142 BYT_RT5640_DMIC_EN), 143 143 }, 144 + { 145 + .callback = byt_rt5640_quirk_cb, 146 + .matches = { 147 + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), 148 + DMI_MATCH(DMI_PRODUCT_NAME, "HP ElitePad 1000 G2"), 149 + }, 150 + .driver_data = (unsigned long *)BYT_RT5640_IN1_MAP, 151 + }, 144 152 {} 145 153 }; 146 154