power: smb135x-charger: Configure USB to suspend properly
Currently we configure USB to suspend during bootup. When the USB
is removed, smb135x USB path will enter suspend mode. However,
that setting will be cleared when the USB is inserted again. This
makes the USB to consume more than 2mA during suspend.
Configure the smb135x again whenever the parallel charger is set
present so that during suspend, USB will not withdraw more than 2mA.
CRs-Fixed: 705132
Change-Id: I9a5035b2fd548fc4fd90d1dab4a6798375f5506f
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment