diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-12-09 11:09:11 +0000 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2019-12-09 20:18:14 +0900 |
commit | d5aa46ddf9ed7cf0d7ea0b86bec20412733ac870 (patch) | |
tree | 747271f6689c42ddd190b630bae3f6316f057348 /mm/page_idle.c | |
parent | ac7614fab9dd1054ec6bd082f02a436bb5cb082f (diff) | |
download | linux-d5aa46ddf9ed7cf0d7ea0b86bec20412733ac870.tar.bz2 |
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 'mm/page_idle.c')
0 files changed, 0 insertions, 0 deletions