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>
This commit is contained in:
Felipe Balbi 2017-11-02 10:57:38 +02:00 committed by Greg Kroah-Hartman
parent e79bfcb795
commit 6f27f4f97e
2 changed files with 6 additions and 2 deletions

View file

@ -143,6 +143,10 @@
#define TEST_PACKET 4
#define TEST_FORCE_EN 5
/* Status Type */
#define USB_STATUS_TYPE_STANDARD 0
#define USB_STATUS_TYPE_PTM 1
/*
* New Feature Selectors as added by USB 3.0
* See USB 3.0 spec Table 9-7