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

Skip to content
Commit d72cdb70 authored by David Collins's avatar David Collins Committed by Stephen Boyd
Browse files

power: smb137c-charger: Add support for USB suspend



When USB suspends, the SMB137C chip should draw less than 2 mA of
current.  Therefore, modify the smb137c-charger driver so that
SMB137C USB suspend is enabled whenever the maximum current
specified by the USB driver is less than 100 mA.  100 mA
corresponds to the minimum input current limit that is
configurable on the chip.

Also update flag usage in helper functions so that all are
consistent.

Change-Id: Ie124a5227c421225264b327d6d050a817460473d
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent c599ec5e
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