diff options
| author | Jack Pham <jackp@codeaurora.org> | 2015-04-21 09:13:54 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:02:59 -0700 |
| commit | 47bb2a3600e473ab700af0d88f44d596d6877724 (patch) | |
| tree | aea114a12f1cda826f41678a8560efe034a2faa4 /include/linux/usb | |
| parent | a99d4a5017ec38797d14dd9a3d091d363055549e (diff) | |
usb: gadget: Add remote_wakeup to struct usb_gadget
This variable keeps track of when remote_wakeup feature
has been enabled by the host. It is needed for certain
function drivers to perform alternate methods during
suspend/resume.
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/gadget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index add634bc4baa..d797f68c3753 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -648,6 +648,7 @@ struct usb_gadget { unsigned deactivated:1; unsigned connected:1; bool l1_supported; + bool remote_wakeup; }; #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) |
