1. NAME

usb_gadget_wakeup - tries to wake up the host connected to this gadget

2. SYNOPSIS

int usb_gadget_wakeup(struct usb_gadget *  gadget );

3. ARGUMENTS

gadget
    controller used to wake up the host

4. DESCRIPTION

Returns zero on success, else negative error code if the hardware doesnAqt support such attempts, or its support has not been enabled by the usb host. Drivers must return device descriptors that report their ability to support this, or hosts wonAqt enable it.

This may also try to use SRP to wake the host and start enumeration, even if OTG isnAqt otherwise in use. OTG devices may also start remote wakeup even when hosts donAqt explicitly enable it.

5. AUTHOR

David Brownell < >
    Author.

6. COPYRIGHT