diff options
| author | Harry Yang <harryy@codeaurora.org> | 2016-11-17 11:24:25 -0800 |
|---|---|---|
| committer | Harry Yang <harryy@codeaurora.org> | 2016-11-17 13:28:58 -0800 |
| commit | 73337d532d7bffc64988c8d377ed9e1461c9813b (patch) | |
| tree | 67a7e542439e3e2bfd52bae2ced3270758ff2299 /lib/mpi/mpiutil.c | |
| parent | 4b1c2e228c806b716546812e6b61b3637d23b4f6 (diff) | |
qcom-charger: Change usb_icl votable for PD vote
Currently there is an issue introduced by forcing the results of
the icl_votable while pd is active. icl_votable is a min voter
and since the DEFAULT_VOTER votes 1.5Amps that becomes the max
one could draw when pd is active. This is incorrect and hence the
issue.
Note that DEFAULT_VOTER is only needed while DCP is present.
So, to fix it, rename DEFAULT_VOTER to DCP_VOTER and make DCP_VOTER
unvote and vote when pd_active is set and unset respectively.
CRs-Fixed: 1091477
Change-Id: I7435f05f20e12a7704ae5d9597b5cdc9b5a61d00
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
