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
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
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