usb: dwc2: gadget: Add remote_wakeup_allowed flag
authorVardan Mikayelyan <mvardan@synopsys.com>
Fri, 16 Feb 2018 10:08:53 +0000 (14:08 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:55 +0000 (10:47 +0200)
commitfa389a6d77264ae1b1263dc83c63503593e21ca9
tree660a638970825f4bf2fff8c143cb25d3629ea86c
parent20fe440982e72dc6440297d7111d71ac2cda70dd
usb: dwc2: gadget: Add remote_wakeup_allowed flag

It will be set once corresponding set_feature command comes.

True if device is allowed to wake-up host by remote-wakeup
signalling.

This is preparation for remote wake-up support implementation,
it will not be implemented until gadget stack provide interface
for bringing remote wake-up signalling.

Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c