commit | 7b6eb9621b05c4407554fdbde7cea5678a6f56bd | [log] [tgz] |
---|---|---|
author | Ashay Jaiswal <ashayj@codeaurora.org> | Wed Apr 26 14:34:29 2017 +0530 |
committer | Harry Yang <harryy@codeaurora.org> | Thu May 18 17:09:14 2017 -0700 |
tree | 50ca7d6cc924e774459b788c6498eb356d1ea22f | |
parent | d56766f7f7eb10e765b1c16a00183040b6069d02 [diff] |
power: smb-lib: Fix charger type reporting Charger type gets updated in 'smblib_update_usb_type' function and this should only be called after completion of APSD. Update the calling sites of 'smblib_update_usb_type' to use 'smblib_get_apsd_result' instead of 'smblib_update_usb_type'. This ensures charger type doesn't get updated inadvertently. CRs-Fixed: 2038837 Change-Id: Iaa380c8f02bb71ad0f4367c16ec39d86d825dfa2 Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>