Skip to content

Commit e384dba

Browse files
drosdeckbroonie
authored andcommitted
ASoC: nau8824: Add quirk to active-high jack-detect
Add entries for Positivo laptops: CW14Q01P, K1424G, N14ZP74G to the DMI table, so that active-high jack-detect will work properly on these laptops. Signed-off-by: Edson Juliano Drosdeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b6b5c64 commit e384dba

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

sound/soc/codecs/nau8824.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,30 @@ static const struct dmi_system_id nau8824_quirk_table[] = {
19031903
},
19041904
.driver_data = (void *)(NAU8824_MONO_SPEAKER),
19051905
},
1906+
{
1907+
/* Positivo CW14Q01P */
1908+
.matches = {
1909+
DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
1910+
DMI_MATCH(DMI_BOARD_NAME, "CW14Q01P"),
1911+
},
1912+
.driver_data = (void *)(NAU8824_JD_ACTIVE_HIGH),
1913+
},
1914+
{
1915+
/* Positivo K1424G */
1916+
.matches = {
1917+
DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
1918+
DMI_MATCH(DMI_BOARD_NAME, "K1424G"),
1919+
},
1920+
.driver_data = (void *)(NAU8824_JD_ACTIVE_HIGH),
1921+
},
1922+
{
1923+
/* Positivo N14ZP74G */
1924+
.matches = {
1925+
DMI_MATCH(DMI_SYS_VENDOR, "Positivo Tecnologia SA"),
1926+
DMI_MATCH(DMI_BOARD_NAME, "N14ZP74G"),
1927+
},
1928+
.driver_data = (void *)(NAU8824_JD_ACTIVE_HIGH),
1929+
},
19061930
{}
19071931
};
19081932

0 commit comments

Comments
 (0)