]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: make HSBIAS_SENSE_EN optional
authorVitaly Rodionov <vitalyr@opensource.cirrus.com>
Tue, 11 May 2021 14:52:20 +0000 (15:52 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 May 2021 12:02:53 +0000 (13:02 +0100)
commitbe497841f5fc7590b48f40e74745f324545ceb59
tree494d8f48900b08c1d0b31258b00d5754f744896c
parent852e09beb90b133279e4d3ccc051568f91ad3477
ASoC: cs42l42: make HSBIAS_SENSE_EN optional

HSBIAS_SENSE_EN configures HSBIAS output current sense through
the external 2.21-k resistor. HSBIAS_SENSE is hardware feature to reduce
the potential pop noise during the headset plug out slowly. But on some
platforms ESD voltage will affect it causing test to fail, especially
with CTIA headset type. For different hardware setups, a designer might
want to tweak default behavior.

Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210511145220.125760-1-vitalyr@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/cs42l42.txt
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h