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

Commit ac2f3336 authored by Azhar Shaikh's avatar Azhar Shaikh
Browse files

usb: gadget: qdss: Use the restart callback for gadget restart



Commit f937641b ("usb: dwc3: Add support for POR
upon composition switch") added a new callback 'restart' to the
usb_gadget_ops, which performs full hardware reset and
re-initialization by turning vbus off and then turning it on.
msm_dwc3_restart_usb_session() performs the same operation as
the 'restart' callback. Hence use this callback mechanism in
function drivers instead of exporting an API from dwc3-msm driver.

Change-Id: I2cef087c91895dd15dd12b46138861d7ae4e6ebb
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent 2f49086b
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