diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-12-09 11:09:15 +0000 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2019-12-09 20:18:15 +0900 |
commit | 7e14fc437c8144d1d5587d7b3a8d33e732144227 (patch) | |
tree | 0ef5a3b294ee6403fa6bfff65e62298f563db9a0 /init | |
parent | 3dfa743dcd2e39064475ff7f622d05db61b65375 (diff) | |
download | linux-7e14fc437c8144d1d5587d7b3a8d33e732144227.tar.bz2 |
extcon: arizona: Factor out microphone impedance into a function
The microphone detection handler is very long, start breaking it up
by factoring out the actual reading of the impedance value into a
separate functions. Additionally, this also fixes a minor bug and
ensures that the microphone timeout will be rescheduled in all error
cases.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions