commit | 9dd5e53d9d2f933039eb2d5e4052afa249f638ba | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Apr 01 19:09:45 2013 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Apr 02 11:54:00 2013 +0100 |
tree | 68c984efef69cce9f1e8f70097b01ff357a5f690 | |
parent | 2643fd641af28603ccd42244011a5ebc66016f8f [diff] |
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>