OSDN Git Service

usb: hcd.h: Fix the values of SetHubDepth and GetPortErrorCount to match USB 3.1...
authorTal Shorer <tal.shorer@gmail.com>
Fri, 7 Aug 2015 19:35:51 +0000 (22:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Aug 2015 22:17:31 +0000 (15:17 -0700)
commit7e34d70a7163b236f520ef4fc0d7c50093dd3746
treed5158e2780968cadfdf022e1c3640f233c9d4564
parent166b8639f52ebeec1bfbe966239530a83040c428
usb: hcd.h: Fix the values of SetHubDepth and GetPortErrorCount to match USB 3.1 specification

>From the usb 3.1 spec available at http://www.usb.org/developers/docs/
table 10-7 (Hub Class Requests) specifies the values for SetHubDepth and
GetPortErrorCount as:

Request bmRequestType bRequest wValue wIndex wLength Data
SetHubDepth 00100000B SET_HUB_DEPTH Hub Depth Zero Zero None
GetPortErrorCount 10100011B GET_PORT_ERR_COUNT Zero Port Two Number of Link Errors on this port

Fix these two values to match the spec.

Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/hcd.h