extcon: max77693: Fix a bug occured at changing ADC debounce time.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Wed, 17 Sep 2014 03:58:43 +0000 (12:58 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 22 Sep 2014 07:14:58 +0000 (16:14 +0900)
commitdc6048d7231914a608938d330a5006f9929f76c7
treedabe25ad5526930800dd90f949e4b1a211ee8a0f
parentb7c7e0865944131820e1a65ff3b08d94ae553d0f
extcon: max77693: Fix a bug occured at changing ADC debounce time.

When it writes some value other than 0 to BTLDset and JIGset, muic device
will be reset automatically. And it happens during updating ADC debounce time,
because it shares same register. To update ADC debounce time without reset,
set value only to ADCDbset and 0 to BTLDset and JIGset.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
[Remove un-needed masking operation by Chanwoo Choi]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-max77693.c
This page took 0.026042 seconds and 5 git commands to generate.