extcon: arizona: Use microphone clamp function if available
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Jan 2013 23:55:36 +0000 (08:55 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 15 Jan 2013 06:42:17 +0000 (15:42 +0900)
commitdab63eb25ced7539a51b8f4218f7b6b56d34df22
tree1f97a0380d70d4207b57a2d2987f3ce18ebc9586
parentb17e54625cff1b06aec9df505b46c9bcdcd4823d
extcon: arizona: Use microphone clamp function if available

Newer Arizona devices include a microphone clamp function which is tied to
jack detect. Activate this feature when present in order to ensure best
performance of the subsystem.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-arizona.c
include/linux/mfd/arizona/core.h
include/linux/mfd/arizona/registers.h