Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a74083cd authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: do not reset iusbmax



In the current implementation if the charger_monitor
bit is set and external_power_supply_changed callback
is called the USB input current limit may be reconfigured
to the USB_WALL_THRESHOLD_MA value.

Fix this by only allowing the input current limit for usb
to be changed through the external_power_supply_change
callback if it has changed from the previous requested
value.

CRs-Fixed: 457381
Change-Id: Ic85941740bc3e9131d68feb8e4ec41621c95abb8
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent ba5e5657
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment