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>
Thu, 25 Nov 2021 08:48:27 +0000 (09:48 +0100)
commit7f37066e0d13070285c7de81f09353a94a91c9b2
treeb0c46ff2c112cd6aafa6ca58006db84e4ddddc5d
parent94ca62033dfbf87d314e6c8a7f13046b56275cb8
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