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

Commit ef711490 authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: dwc3: Program event buffer post block reset on stop_host



dwc3-msm driver performs block reset on stop_host, but performs
event buffer initialization only on lpm_exit. If lpm enter/exit
doesn't happen for back to back stop_host -> start_peripheral
then event buffer may not be programmed when calling
dwc3_gadget_restart. This results in dwc3 device mode failure.
Add event buffer setting after block reset on stop_host and
before calling gadget_restart to match with POR sequence.

CRs-fixed: 1038350
Change-Id: I466828a4f47f0c147df6826b8d3967a64e0ab6d2
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent d3e41c96
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