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

Commit 034277ed authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: smb1351: set correct usb mode polarity when in parallel mode



Currently, the smb1351 driver does not set the same USB100/USB500 mode
polarity when ran in parallel mode. This can cause current limits of
500/900mA to be switched with 100/150mA.

Fix this by setting the same bits the smb1351 does in its normal hw_init
routine.

CRs-Fixed: 877809
Change-Id: I44ae3086fd86e46b15a2c16368fcd5aade771319
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 155c846a
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