From: Sebastian Andrzej Siewior Date: Wed, 22 Aug 2012 13:12:06 +0000 (+0200) Subject: usb/xhci: update a comment regarding the BOS descriptor to reflect the code X-Git-Tag: firefly_0821_release~3680^2~1975^2~121^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3415fc94bba86b397f1fefec3c904bfc57de7038;p=firefly-linux-kernel-4.4.55.git usb/xhci: update a comment regarding the BOS descriptor to reflect the code The comment is a quote of Alan Stern and reflects the data structure better than the the initial comment. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Sarah Sharp --- diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index eb640d0ab32d..5896f0588d41 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-hub.c @@ -29,7 +29,7 @@ #define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \ PORT_RC | PORT_PLC | PORT_PE) -/* usb 1.1 root hub device descriptor */ +/* USB 3.0 BOS descriptor and a capability descriptor, combined */ static u8 usb_bos_descriptor [] = { USB_DT_BOS_SIZE, /* __u8 bLength, 5 bytes */ USB_DT_BOS, /* __u8 bDescriptorType */