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

Skip to content
Commit d0fe8ff7 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-smbcharger: use strict OTG checks



Currently there is a hardware bug that incorrectly detects a normal USB
as OTG due to the fuel gauge doing a faulty VADC conversion. This can
cause USB to go into host mode and stop functioning on the affected
PMICs.

As a work around, check that the usbin_uv real time status is set before
declaring a USB connection is an OTG connection.

Change-Id: I005212031ca923c26f7b0231907fd110eef79527
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent e33b9fba
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