usb: ch9: add function defines from ch9, USB 3.0 spec
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 19 Aug 2011 15:10:56 +0000 (18:10 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 22:59:25 +0000 (15:59 -0700)
not to confuse with Table 9-7 in USB 2.0 spec

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb/ch9.h

index e809deabf5031f533ff33cbfd7f918bde2426b2a..1ded281eff883de595cde017a5df1bb3545ad1cf 100644 (file)
 #define USB_INTRF_FUNC_SUSPEND 0       /* function suspend */
 
 #define USB_INTR_FUNC_SUSPEND_OPT_MASK 0xFF00
+/*
+ * Suspend Options, Table 9-7 USB 3.0 spec
+ */
+#define USB_INTRF_FUNC_SUSPEND_LP      (1 << (8 + 0))
+#define USB_INTRF_FUNC_SUSPEND_RW      (1 << (8 + 1))
 
 #define USB_ENDPOINT_HALT              0       /* IN/OUT will STALL */