]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Fallback to headphones for type detect
authorStefan Binding <sbinding@opensource.cirrus.com>
Tue, 27 Sep 2022 12:14:40 +0000 (13:14 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Sep 2022 13:00:00 +0000 (14:00 +0100)
commit0062a4895a4f47469627e988b95d6502c0600124
tree84870c2b30e3573ab7e5c2fc61764111fafb46ff
parent485760ecd46fc11e2322058913d56ad25e24bf48
ASoC: cs42l42: Fallback to headphones for type detect

After tip sense detects a jack insertion, if automatic
type detection, and manual type detection fails, then
fall back to assume the jack connected belongs to
headphones.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220927121440.2506632-1-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c