diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-01 20:09:45 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-02 12:54:00 +0200 |
commit | 9dd5e53d9d2f933039eb2d5e4052afa249f638ba (patch) | |
tree | 68c984efef69cce9f1e8f70097b01ff357a5f690 /lib/find_last_bit.c | |
parent | extcon: arizona: Tune up HPDET debounce (diff) | |
download | linux-9dd5e53d9d2f933039eb2d5e4052afa249f638ba.tar.xz linux-9dd5e53d9d2f933039eb2d5e4052afa249f638ba.zip |
extcon: arizona: Retry HPDET identification for high impedance
Sometimes we can trigger measurements early if contacts are shorted during
a slow insertion. As well as debouncing add further robustness by retrying
if we get a high impedance measurement for headphones as this can indicate
that the headphones were not yet connected.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'lib/find_last_bit.c')
0 files changed, 0 insertions, 0 deletions