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

Skip to content
Commit 9e1b8a48 authored by Ke Liu's avatar Ke Liu
Browse files

power: smb135x-charger: retry OTG if it failed due to over current



Currently, when smb driver tries to enable OTG, it will return failure
immediately if failed and won't try to enable it again. However, if this
failure is due to over current, OTG might work after several retries.

Hence add support to retry OTG enablement if it failed due to over current.

Change-Id: I35c82ba0e36bc70a18ecdb9d2f0bc3ac3e2e4943
CRs-fixed: 699400
Signed-off-by: default avatarKe Liu <keliu@codeaurora.org>
parent 763e35c9
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