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

Commit 71bbdae0 authored by Arumuga Durai A's avatar Arumuga Durai A
Browse files

USB: phy: Fix clearing of Vbus based ID clear on bootup



Some platform devices like smart audio platform devices should be
enumerated as USB HOST if there is no usb_vbus on bootup. Since the
ID state marked as FLOAT on bootup device fails to enumerate as
USB HOST also, usb role switch/swap fails when do multiple connect and
disconnect of usb cable even PMI notifies removal of usb_vbus. Fix this
by setting ID state as GROUND and clear USB_ID if there is no usb_vbus
on bootup and also, as we cleared USB_ID on removal of vbus avoid
checking for ID GROUND this fix usb role swap failure on multiple
connect/disconnect.

CRs-Fixed: 2058197
Change-Id: I327a82215ab770142d69ee34de8d3e0d0f25c09a
Signed-off-by: default avatarArumuga Durai A <cadurai@codeaurora.org>
parent c7402fa4
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