Skip to content

Commit e3209a1

Browse files
tomlohavebroonie
authored andcommitted
bytcr_rt5640 : inverse jack detect for Archos 101 cesium
When headphones are plugged in, they appear absent; when they are removed, they appear present. Add a specific entry in bytcr_rt5640 for this device Signed-off-by: Thomas GENTY <tomlohave@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20240608170251.99936-1-tomlohave@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2ed2216 commit e3209a1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

sound/soc/intel/boards/bytcr_rt5640.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,17 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
610610
BYT_RT5640_SSP0_AIF1 |
611611
BYT_RT5640_MCLK_EN),
612612
},
613+
{
614+
.matches = {
615+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"),
616+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ARCHOS 101 CESIUM"),
617+
},
618+
.driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
619+
BYT_RT5640_JD_NOT_INV |
620+
BYT_RT5640_DIFF_MIC |
621+
BYT_RT5640_SSP0_AIF1 |
622+
BYT_RT5640_MCLK_EN),
623+
},
613624
{
614625
.matches = {
615626
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"),

0 commit comments

Comments
 (0)