diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-12-09 12:09:11 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2019-12-09 12:18:14 +0100 |
commit | d5aa46ddf9ed7cf0d7ea0b86bec20412733ac870 (patch) | |
tree | 747271f6689c42ddd190b630bae3f6316f057348 /drivers/extcon/extcon-intel-mrfld.c | |
parent | extcon: arizona: Clear jack status regardless of detection type (diff) | |
download | linux-d5aa46ddf9ed7cf0d7ea0b86bec20412733ac870.tar.xz linux-d5aa46ddf9ed7cf0d7ea0b86bec20412733ac870.zip |
extcon: arizona: Tidy up transition from mic to headphone detect
Moving from microphone detection to headphone detection is done fairly
haphazardly at the moment, sometimes calling arizona_stop_mic at the
call site sometimes relying on a call inside arizona_identify_headphone.
Simplify all this and always call arizona_stop_mic at the top of
arizona_identify_headphone.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-intel-mrfld.c')
0 files changed, 0 insertions, 0 deletions