Re: [PATCH v2] extcon: arizona: Update manual headphone detection calculation

From: Chanwoo Choi
Date: Sun Jun 01 2014 - 20:36:13 EST


On 05/30/2014 09:19 PM, Charles Keepax wrote:
> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
>
> Changes since v1:
> - Added define for range maximum as per review comments
>
> drivers/extcon/extcon-arizona.c | 15 ++++++++++-----
> 1 files changed, 10 insertions(+), 5 deletions(-)

Applied.

Thanks,
Chanwoo Choi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/