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:
Pratham Pratap <prathampratap@codeaurora.org>
Loading
Please register or sign in to comment