Re: [PATCH] USB and Driver Core patches for 2.6.10

Greg KH
2005-01-08T07:27:03Z

ChangeSet 1.1938.444.26, 2004/12/21 11:21:08-08:00, david-b@pacbell.net

[PATCH] USB: fix Scheduling while atomic warning when resuming.

From: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

drivers/usb/host/ehci-hub.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
--- a/drivers/usb/host/ehci-hub.c 2005-01-07 15:40:46 -08:00
+++ b/drivers/usb/host/ehci-hub.c 2005-01-07 15:40:46 -08:00
@@ -122,7 +122,7 @@
writel (temp, &ehci->regs->port_status [i]);
}
i = HCS_N_PORTS (ehci->hcs_params);
- msleep (20);
+ mdelay (20);
while (i--) {
temp = readl (&ehci->regs->port_status [i]);
if ((temp & PORT_SUSPEND) == 0)