summaryrefslogtreecommitdiff
path: root/usb/gadget/UsbGadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'usb/gadget/UsbGadget.h')
-rw-r--r--usb/gadget/UsbGadget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usb/gadget/UsbGadget.h b/usb/gadget/UsbGadget.h
index 59759308..a6b63bdb 100644
--- a/usb/gadget/UsbGadget.h
+++ b/usb/gadget/UsbGadget.h
@@ -115,6 +115,10 @@ struct UsbGadget : public BnUsbGadget {
ScopedAStatus setVidPid(const char *vid,const char *pid);
+ // Indicates to the kernel that the gadget service is ready and the kernel can
+ // set SDP timeout to a lower value.
+ void updateSdpEnumTimeout();
+
private:
Status tearDownGadget();
Status getUsbGadgetIrqPath();