From: Alan Stern Date: Mon, 22 Sep 2008 18:44:26 +0000 (-0400) Subject: USB: change hub initialization sleeps to delayed_work X-Git-Tag: v2.6.28-rc1~254^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8520f38099ccfdac2147a0852f84ee7a8ee5e197;p=pandora-kernel.git USB: change hub initialization sleeps to delayed_work This patch (as1137) changes the hub_activate() routine, replacing the power-power-up and debounce delays with delayed_work calls. The idea is that on systems where the USB stack is compiled into the kernel rather than built as modules, these delays will no longer block the boot thread. At least 100 ms is saved for each root hub, which can add up to a significant savings in total boot time. Arjan van de Ven was very pleased to see that this shaved 700 ms off his computer's boot time. Since his total boot time is on the order of two seconds, the improvement is considerable. Signed-off-by: Alan Stern Tested-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed