aboutsummaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-adc-jack.c
diff options
context:
space:
mode:
authorGravatar Charles Keepax <ckeepax@opensource.wolfsonmicro.com> 2014-05-30 13:19:17 +0100
committerGravatar Chanwoo Choi <cw00.choi@samsung.com> 2014-06-16 13:33:19 +0900
commit24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a (patch)
tree6dcf3da94e99ecd5029c0773602e25ef88f8a6e2 /drivers/extcon/extcon-adc-jack.c
parentextcon: arizona: Correct typo to disable regulation for button detection (diff)
downloadlinux-24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a.tar.gz
linux-24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a.tar.bz2
linux-24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a.zip
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