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

Skip to content
Commit f6842fc3 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: phy-msm-usb: Fix bug in handling cable connect event during bootup



Currently USB driver waits for 5 sec timeout for PMIC driver
notifying initial cable connect status for first time otg_sm_work
is scheduled. If timeout happens, USB will enter low power mode.
If PMIC driver notifies initial cable status after timeout, USB
driver doesn't schedule sm_work to handle it. This results in USB
detection failure when target is booted with cable connected. Fix
this by scheduling sm_work in this case by having proper check.

CRs-Fixed: 688006
Change-Id: Ibef2e709c5b6b01c4e5b10daf36e7f0451372e9a
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent a22d6f65
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