qcom: smb-lib: force 9V for QC2.0 adapter
In case of USBIN-USBIN based parallel charging configuration
hardware based INOV is disabled and adapter output voltage of
QC3.0 adapter is controlled by userspace daemon. But in case
of QC 2.0 based adapter there is no such daemon to control
adapter output voltage, thus force 9V adapter output when a
QC 2.0 adapter is detected.
While at it, cancel icl_change_work before scheduling it in
order to make sure work is scheduled for next interval.
CRs-Fixed: 2015927
Change-Id: I198f8299b5cd0a62c518815c33088bb5e38c8505
Signed-off-by:
Ashay Jaiswal <ashayj@codeaurora.org>
Loading
Please register or sign in to comment