summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Youn <johnyoun@synopsys.com>2016-03-28 16:12:21 -0700
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-03-29 13:26:04 +0300
commit743bc4b069517d3bae69349a1a23511eaaae5ede (patch)
tree238b9a997cb1a5256c0a3c364439147604bc380c
parent08f8cabf715654634a0bae8bee7afea964c6c9cb (diff)
downloadop-kernel-dev-743bc4b069517d3bae69349a1a23511eaaae5ede.zip
op-kernel-dev-743bc4b069517d3bae69349a1a23511eaaae5ede.tar.gz
usb: ch9: Fix SSP Device Cap wFunctionalitySupport type
The wFunctionalitySupport field should be __le16. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r--include/uapi/linux/usb/ch9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
index 06d6c62..d5ce716 100644
--- a/include/uapi/linux/usb/ch9.h
+++ b/include/uapi/linux/usb/ch9.h
@@ -899,7 +899,7 @@ struct usb_ssp_cap_descriptor {
__le32 bmAttributes;
#define USB_SSP_SUBLINK_SPEED_ATTRIBS (0x1f << 0) /* sublink speed entries */
#define USB_SSP_SUBLINK_SPEED_IDS (0xf << 5) /* speed ID entries */
- __u16 wFunctionalitySupport;
+ __le16 wFunctionalitySupport;
#define USB_SSP_MIN_SUBLINK_SPEED_ATTRIBUTE_ID (0xf)
#define USB_SSP_MIN_RX_LANE_COUNT (0xf << 8)
#define USB_SSP_MIN_TX_LANE_COUNT (0xf << 12)
OpenPOWER on IntegriCloud