Skip to content

Commit

Permalink
usb: ch9: add function defines from ch9, USB 3.0 spec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Andrzej Siewior authored and Greg Kroah-Hartman committed Aug 22, 2011
1 parent e879990 commit da6819d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/usb/ch9.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit da6819d

Please sign in to comment.