extcon: arizona: Additional settings to improve accuracy of HP detect
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 16 Sep 2015 09:42:18 +0000 (10:42 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 22 Sep 2015 06:27:59 +0000 (15:27 +0900)
commitf719ae3311f9b609151a0319f0cc2fdb7491d37a
tree1ae0906efed7d6435f43e2388f564f3641af44b7
parent6772a5ab4f53672adce6310dffe2b0c6987d8f92
extcon: arizona: Additional settings to improve accuracy of HP detect

If the TST_CAP_SEL bits aren't set correctly on wm5110/8280 there will
be a 100k load along side the headphones, which will affect the accurary
towards the very top of the detection range. This patch sets those bits.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c