ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect
authorEdson Juliano Drosdeck <edson.drosdeck@gmail.com>
Wed, 19 Jul 2023 20:02:41 +0000 (17:02 -0300)
committerMark Brown <broonie@kernel.org>
Sun, 23 Jul 2023 22:40:05 +0000 (23:40 +0100)
commit1bc40efdaf4a0ccfdb10a1c8e4b458f4764e8e5f
treee12316154a949686c857159f6c28279a373f6f9d
parent1477c794c771be0a873a41421812e7274717dcd1
ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect

Add a quirk mechanism to allow specifying that active-high jack-detection
should be used on platforms where this info is not available in devicetree.

And add an entry for the Positivo CW14Q01P-V2 to the DMI table, so that
jack-detection will work properly on this laptop.

Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Link: https://lore.kernel.org/r/20230719200241.4865-1-edson.drosdeck@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8821.c