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

Skip to content
Commit 66eae476 authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3: Set vbus_active in peripheral-only mode



The recent change in commit 904ab34b ("usb: dwc3: ep0: Fail
enqueue() when racing with vbus_sess disconnect") added a check
to prevent queuing on ep0 if vbus_active is unset. However on
some configurations if dwc3 is configured as peripheral-only, this
flag is not set. In those cases, simply set vbus_active to true.

Change-Id: Iaf8612b924ead1484dc585377e7eb0a46cc89a16
Fixes: 904ab34b ("usb: dwc3: ep0: Fail enqueue() when racing with vbus_sess disconnect")
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 812f0991
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