Commit 69fbc509 authored by David Brownell's avatar David Brownell Committed by Linus Torvalds

[PATCH] Missed usb devices on boot

This marks sets change_bits to all ones when bringing up a hub, since
not all hubs seem to send change events for devices that were plugged in
when the hub was reset. 

David Miller confirms this fixes his boot-time lost keyboard/mouse
problem
parent 226c6dd3
...@@ -674,6 +674,7 @@ static int hub_configure(struct usb_hub *hub, ...@@ -674,6 +674,7 @@ static int hub_configure(struct usb_hub *hub,
hub->indicator [0] = INDICATOR_CYCLE; hub->indicator [0] = INDICATOR_CYCLE;
hub_power_on(hub); hub_power_on(hub);
hub->change_bits[0] = ~0;
hub_activate(hub); hub_activate(hub);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment