From: Charles Keepax Date: Fri, 30 May 2014 12:19:17 +0000 (+0100) Subject: extcon: arizona: Update manual headphone detection calculation X-Git-Tag: omap-for-v3.17/fixes-against-rc2~168^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a279b1cae0af0eb4bf0dd8b3ef85956a96ff7a;p=pandora-kernel.git 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 Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed