summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-08-19 18:10:56 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-22 15:59:25 -0700
commitda6819dbffb34861b79d91c05c4eeb37a3792433 (patch)
treebb89ee694b19407f917e31227b077081d844a6c4
parente8799906045302776b35b66b16495c575db3b69c (diff)
downloadop-kernel-dev-da6819dbffb34861b79d91c05c4eeb37a3792433.zip
op-kernel-dev-da6819dbffb34861b79d91c05c4eeb37a3792433.tar.gz
usb: ch9: add function defines from ch9, USB 3.0 spec
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>
-rw-r--r--include/linux/usb/ch9.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h
index e809dea..1ded281 100644
--- a/include/linux/usb/ch9.h
+++ b/include/linux/usb/ch9.h
@@ -144,6 +144,11 @@
#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 */
OpenPOWER on IntegriCloud