[PATCH 1/2] Add hub port switchable when checking port power

2015-01-18 Thread Chechun Kuo
hub_is_port_power_switchable as well as checking the port power. Signed-off-by: Chechun Kuo vichy@gmail.com --- drivers/usb/core/hub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index b649fef..a50b257 100644 --- a/drivers/usb/core/hub.c

[PATCH 2/2] Add HCS_PPC when getting root hub status

2015-01-18 Thread Chechun Kuo
for some platform ehci controller, it is possible there is no port power control capability in the root hub. And we add port power control determination when getting root hub port status. Signed-off-by: Chechun Kuo vichy@gmail.com --- drivers/usb/host/ehci-hub.c | 2 +- 1 file changed, 1

[PATCH 1/1] HID: usbhid: add usb_clear_halt determination for next hid_start_in

2014-08-22 Thread CheChun Kuo
HID IR device will not response to any command send from host when it is finishing paring and tring to reset itself. During this period of time, usb_cleaer_halt will be fail and if hid_start_in soon again, we has the possibility trap in infinite loop. Signed-off-by: CheChun Kuo vichy