diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-11-02 04:57:38 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-07 09:47:19 -0500 |
| commit | 6f27f4f97ee8cbec99b429b653333f4e781a47a1 (patch) | |
| tree | fac1a6c4a9d9c87db91d81c970d9c36e877f16e4 /include/uapi/linux/usb | |
| parent | e79bfcb795f9cabc7d5903eb779bed3f4d14b364 (diff) | |
usb: core: add Status Type definitions
USB 3.1 added a PTM_STATUS type. Let's add a define for it and
following patches will let usb_get_status() accept the new argument.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/usb')
| -rw-r--r-- | include/uapi/linux/usb/ch9.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h index 2a5d63040a0b..b2167e89ae6e 100644 --- a/include/uapi/linux/usb/ch9.h +++ b/include/uapi/linux/usb/ch9.h | |||
| @@ -143,6 +143,10 @@ | |||
| 143 | #define TEST_PACKET 4 | 143 | #define TEST_PACKET 4 |
| 144 | #define TEST_FORCE_EN 5 | 144 | #define TEST_FORCE_EN 5 |
| 145 | 145 | ||
| 146 | /* Status Type */ | ||
| 147 | #define USB_STATUS_TYPE_STANDARD 0 | ||
| 148 | #define USB_STATUS_TYPE_PTM 1 | ||
| 149 | |||
| 146 | /* | 150 | /* |
| 147 | * New Feature Selectors as added by USB 3.0 | 151 | * New Feature Selectors as added by USB 3.0 |
| 148 | * See USB 3.0 spec Table 9-7 | 152 | * See USB 3.0 spec Table 9-7 |
