]> 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)
commitdcaf90e6fd094a7ecd5d3294f3e28e35a4b35c14
tree494d8f48900b08c1d0b31258b00d5754f744896c
parent89fa2ba0b06859e44ba21b5ed4ec221c731d1071
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