]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:34:00 +0000 (07:34 +0100)
commit549934fb027e8ab69eec048c7bbb6b3f8e20ab81
tree6a9c4efba4aa1bc572111eb8f467247bbf92b8e8
parent142b45b435b8861da5b2281ead025ce14319566e
ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect

BugLink: https://bugs.launchpad.net/bugs/1952579
[ 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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
sound/soc/codecs/nau8824.c