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

Commit 51bba26d authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_gsi: Add support for super speed function suspend" into msm-4.8

parents e077a172 5f5dff01
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -41,6 +41,10 @@
#include <linux/log2.h>
#include <linux/configfs.h>

/* FUNCTION_SUSPEND: suspend options from usb 3.0 spec Table 9-7 */
#define FUNC_SUSPEND_OPT_SUSP_MASK BIT(0)
#define FUNC_SUSPEND_OPT_RW_EN_MASK BIT(1)

/*
 * USB function drivers should return USB_GADGET_DELAYED_STATUS if they
 * wish to delay the data/status stages of the control transfer till they