usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or... 30/112830/1 accepted/tizen/common/20170214.173515 accepted/tizen/ivi/20170215.085433 accepted/tizen/mobile/20170215.085302 accepted/tizen/tv/20170215.085348 accepted/tizen/wearable/20170215.085415 submit/tizen/20170214.002758
authorTed Chen <tedchen@realtek.com>
Fri, 18 Mar 2016 07:26:52 +0000 (17:56 +1030)
committerJiho Chu <jiho.chu@samsung.com>
Fri, 3 Feb 2017 04:15:04 +0000 (13:15 +0900)
commite55f1193e9672573c638904a60293ba0d8adc5b7
tree45ac3fe84346eab00e351da1a60d758c573a3857
parentd24fd6631a12d4851ea9953cf0baa326879b0b4c
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.

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