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

Commit 197c3191 authored by Jack Pham's avatar Jack Pham Committed by Matt Wagantall
Browse files

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: default avatarJack Pham <jackp@codeaurora.org>
parent 1341cfcc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -567,6 +567,7 @@ struct usb_gadget {
	unsigned			a_hnp_support:1;
	unsigned			a_alt_hnp_support:1;
	unsigned			quirk_ep_out_aligned_size:1;
	bool				remote_wakeup;
};
#define work_to_gadget(w)	(container_of((w), struct usb_gadget, work))