diff options
Diffstat (limited to 'include/uapi/linux/usb/ch9.h')
-rw-r--r-- | include/uapi/linux/usb/ch9.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h index c4c79aa331bd..d5a5caec8fbc 100644 --- a/include/uapi/linux/usb/ch9.h +++ b/include/uapi/linux/usb/ch9.h | |||
@@ -1077,9 +1077,9 @@ struct usb_ptm_cap_descriptor { | |||
1077 | #define USB_DT_USB_PTM_ID_SIZE 3 | 1077 | #define USB_DT_USB_PTM_ID_SIZE 3 |
1078 | /* | 1078 | /* |
1079 | * The size of the descriptor for the Sublink Speed Attribute Count | 1079 | * The size of the descriptor for the Sublink Speed Attribute Count |
1080 | * (SSAC) specified in bmAttributes[4:0]. | 1080 | * (SSAC) specified in bmAttributes[4:0]. SSAC is zero-based |
1081 | */ | 1081 | */ |
1082 | #define USB_DT_USB_SSP_CAP_SIZE(ssac) (16 + ssac * 4) | 1082 | #define USB_DT_USB_SSP_CAP_SIZE(ssac) (12 + (ssac + 1) * 4) |
1083 | 1083 | ||
1084 | /*-------------------------------------------------------------------------*/ | 1084 | /*-------------------------------------------------------------------------*/ |
1085 | 1085 | ||