[PATCH V2] USBIP: return correct port ENABLE status

2017-12-18 Thread pei . zhang
From: Pei Zhang USB system will clear port's ENABLE feature for some USB devices when vdev is already assigned port address. This cause getPortStatus reports to system that this device is not enabled, client OS will failed to use this usb device. The failure devices include a SAMSUN

[PATCH] usbip: vhci_hcd: print correct info in default case

2017-12-05 Thread Pei Zhang
In this switch-case logical, 2 cases will goes to default case. The default log should exclude the upper 2 cases. Signed-off-by: Pei Zhang --- drivers/usb/usbip/vhci_hcd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip

[PATCH] usbip: vhci-hcd: return correct port ENABLE status

2017-12-05 Thread Pei Zhang
itech webcam. Signed-off-by: Pei Zhang --- drivers/usb/usbip/vhci_hcd.c | 38 +++--- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c index e4cb9f0..7b8cf70 100644 --- a/drivers/usb/

[PATCH] usbip: vhci-hcd: return correct port ENABLE status

2017-12-05 Thread Pei Zhang
itech webcam. Signed-off-by: Pei Zhang --- drivers/usb/usbip/vhci_hcd.c | 38 +++--- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c index e4cb9f0..7b8cf70 100644 --- a/drivers/usb/

[PATCH] usbip: vhci-hcd: return correct port ENABLE status

2017-12-04 Thread Pei Zhang
itech webcam. Signed-off-by: Pei Zhang --- drivers/usb/usbip/vhci_hcd.c | 38 +++--- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c index e4cb9f0..7b8cf70 100644 --- a/drivers/usb/