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

Commit 4050c07f authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Abhijeet Dharmapurikar
Browse files

power: qpnp-smbcharger: report DCP when OCP is detected



Currently the charger reports an other charging port (OCP) to the USB
driver as an UNKNOWN type. This causes the USB driver to run USB type
detection manually again, which can result in incorrect results.

Fix this by reporting as a dedicated charging port (DCP) instead.

CRs-Fixed: 836050
Change-Id: Ibedb82ca4e226215d16416aa36ed33ba41f9924e
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 34c657e2
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