Skip to content

Commit da6819d

Browse files
Sebastian Andrzej Siewiorgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e879990 commit da6819d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/usb/ch9.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@
144144
#define USB_INTRF_FUNC_SUSPEND 0 /* function suspend */
145145

146146
#define USB_INTR_FUNC_SUSPEND_OPT_MASK 0xFF00
147+
/*
148+
* Suspend Options, Table 9-7 USB 3.0 spec
149+
*/
150+
#define USB_INTRF_FUNC_SUSPEND_LP (1 << (8 + 0))
151+
#define USB_INTRF_FUNC_SUSPEND_RW (1 << (8 + 1))
147152

148153
#define USB_ENDPOINT_HALT 0 /* IN/OUT will STALL */
149154

0 commit comments

Comments
 (0)