ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
authorHans de Goede <hdegoede@redhat.com>
Sat, 2 Oct 2021 21:14:57 +0000 (23:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 09:39:09 +0000 (10:39 +0100)
commit97f3cbb57b1618290cc99d46f91077826acf2744
tree20dd6e5ffda452439b168c6d3d16cb90af5a0263
parentae2207a078cf68b8a06a4185e8d2baab3aea31ec
ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect

[ Upstream commit 92d3360108f1839ca40451bad20ff67dd24a1964 ]

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 Cyberbook T116 tablet to the DMI table, so that
jack-detection will work properly on this tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211002211459.110124-2-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/nau8824.c