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

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

power: pm8921-charger: Control CHG_USB_SUSPEND enabling boost



Toggle the CHG_USB_SUSPEND bit when utilizing the VBUS boost.
This bit controls ensures that no current is being drawn from
a USB device and the charger runs off the battery.

This makes sure that when pm8921_disable_source_current is called
the correct setting is written to the suspend bit depending
on the disable flag.

CRs-Fixed: 393498
Change-Id: I2acfae5aec19165a2196c50c31569c999cb090db
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent d5a4aa33
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