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:
Ke Liu <keliu@codeaurora.org>
Loading
Please register or sign in to comment