]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or...
authorTed Chen <tedchen@realtek.com>
Fri, 18 Mar 2016 07:26:52 +0000 (17:56 +1030)
committerMarek Vasut <marex@denx.de>
Sun, 20 Mar 2016 17:00:45 +0000 (18:00 +0100)
commit1b108880e6433e398681785f51b2a2dca983cd1b
tree1f6c38aa92a550ee24ffcf0c610f538a6f1659c7
parentc998da0d67091f800933e59b8693913764a9e8f4
usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

Add test into xhci_submit_control_message for usb requesttype in USB
vendor request being of standardized type. This fixes detection of
certain USB fixes, for example Ethernet, USB 3.0 port. Non standardized
requesttype in USB vendor request will be ignored.

Signed-off-by: Ted Chen <tedchen@realtek.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
drivers/usb/host/xhci.c