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

Commit 18d13a4e authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: phy-msm: Move to B_CHARGER state only for PHY based charger detection



New platforms are having SMB hardware which does charger detection and
notify charger type before cable connect status. In this case also,
otg state machine is moving B_CAHRGER state if wall charger is connected
during bootup. This leads to USB enumeration fails if it is connected
to SDP charger after wall charger disconnection as USB doesn't exit/enter
low power mode for wall charger connect/disconnect in case of SMB based
charger detection. Hence fix this by not moving state machine to B_CHARGER
state in case of SMB based charger detection.

Change-Id: I694a9932e8136f1acb38e095d210d11f890b9e4a
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 90c540cd
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