]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5645: Headphone Jack sense inverts on the LattePanda board
authorHui Wang <hui.wang@canonical.com>
Mon, 29 Apr 2019 03:44:07 +0000 (11:44 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 2 May 2019 02:36:35 +0000 (11:36 +0900)
commit41de42bf727900424c77cee0311459f5c395ad8b
tree4237ad23c98061d85201d6b0d4c27f35cd443c18
parentd916b123e0e9c4e22f4a3c4a12d7efffd519f089
ASoC: rt5645: Headphone Jack sense inverts on the LattePanda board

The LattePanda board has a sound card chtrt5645, when there is nothing
plugged in the headphone jack, the system thinks the headphone is
plugged in, while we plug a headphone in the jack, the system thinks
the headphone is unplugged.

If adding quirk=0x21 in the module parameter, the headphone jack can
work well. So let us fix it via platform_data.

https://bugs.launchpad.net/bugs/182459
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c