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

Skip to content
Commit d6a59d03 authored by Pratham Pratap's avatar Pratham Pratap Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3-msm: Fix float cable detection



In case of float cable connected charger driver expects
-ETIMEOUT from USB driver. If suspend happens before detection
timeout then dwc3 driver notifies current as 2mA and charger
driver marks psy_type as USB instead of FLOAT even if float
cable is connected. To fix this do not notify charger driver
for any current if float cable is connected and suspend happened.

Change-Id: I6d5ad3dcd9c9ba02c3f56cad61fac38aae3abab2
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 8ca6d749
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