diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-05-30 16:19:17 +0400 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2014-06-16 08:33:19 +0400 |
commit | 24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a (patch) | |
tree | 6dcf3da94e99ecd5029c0773602e25ef88f8a6e2 /drivers/extcon/extcon-adc-jack.c | |
parent | e368f525218497a9943b61301148d30382c1e014 (diff) | |
download | linux-24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a.tar.xz |
extcon: arizona: Update manual headphone detection calculation
The higher levels of impedance have a higher minimum value than the
first level. As the same value was used for all levels, higher impedances
were reported with a very low level of accuracy. This patch applies the
approriate lower threshold for each level, whilst we are changing things
add a define for the maximum value at each level to improve readability.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-adc-jack.c')
0 files changed, 0 insertions, 0 deletions