OSDN Git Service

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)
committerMark Brown <broonie@kernel.org>
Mon, 4 Oct 2021 14:55:28 +0000 (15:55 +0100)
commit92d3360108f1839ca40451bad20ff67dd24a1964
treeedb13d3bb3d8e6869e87b8336419e52c37c8bf3a
parentd316597c538abd110ff32761fc79f7adff8d619a
ASoC: nau8824: 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 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>
sound/soc/codecs/nau8824.c