Skip to content

Commit 1bea225

Browse files
Chris Chiubroonie
authored andcommitted
ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
Tha ARCHOS Cesium 140 tablet has problem with the jack-sensing, thus the heaset functions are not working. Add quirk for this model to select the correct input map, jack-detect options and channel map to enable jack sensing and headset microphone. This device uses IN1 for its internal MIC and JD2 for jack-detect. Signed-off-by: Chris Chiu <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 7e20ae1 commit 1bea225

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

sound/soc/intel/boards/bytcr_rt5640.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
421421
BYT_RT5640_SSP0_AIF1 |
422422
BYT_RT5640_MCLK_EN),
423423
},
424+
{
425+
.matches = {
426+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"),
427+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ARCHOS 140 CESIUM"),
428+
},
429+
.driver_data = (void *)(BYT_RT5640_IN1_MAP |
430+
BYT_RT5640_JD_SRC_JD2_IN4N |
431+
BYT_RT5640_OVCD_TH_2000UA |
432+
BYT_RT5640_OVCD_SF_0P75 |
433+
BYT_RT5640_SSP0_AIF1 |
434+
BYT_RT5640_MCLK_EN),
435+
},
424436
{
425437
.matches = {
426438
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),

0 commit comments

Comments
 (0)