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

Skip to content
Commit af88d5f8 authored by Mayank Rana's avatar Mayank Rana
Browse files

dwc3: Add usb_get_remote_wakeup_status() API()



USB composite device updates to host about its wakeup capability
using bmAttribute, and USB host may support remote wakeup
functionality using SET_FEATURE. UDC gadget ops supports wakeup()
API which can be invoked by USB function driver to resume USB bus
by signaling remote wakeup. With HW accelerated path IPA will need
to know if host has enabled remote wakeup in order to decide whether
to suspend or disconnect the GSI channels. Add an API to allow USB
GSI driver to query the current remote wakeup enabled status.

Change-Id: I09eb62714f9df90d68cce5c478dc19096477709e
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent a2839ca3
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