ASoC: nau8824: Fix NAU8824_JACK_LOGIC define
authorHans de Goede <hdegoede@redhat.com>
Sat, 2 Oct 2021 21:14:56 +0000 (23:14 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 Oct 2021 14:55:26 +0000 (15:55 +0100)
commitd316597c538abd110ff32761fc79f7adff8d619a
tree6aee66025280ebfee1d91741f7e7042ffdf7df56
parent6e037b72cf4ea6c28a131ea021d63ee4e7e6fa64
ASoC: nau8824: Fix NAU8824_JACK_LOGIC define

The NAU8824_JACK_LOGIC define was wrong, for active high jack-detect
to work bit 1 needs to be set, rather then bit 0.

The correct bit was found in the Android kernel source dump for
a Cyberbook T116 tablet; and this was also tested on that same tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211002211459.110124-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8824.h