ChangeSet 1.2181.4.26, 2005/03/17 18:13:54-08:00, [EMAIL PROTECTED]
[PATCH] USB: fix uhci irq 10: nobody cared! error
From: Olaf Kirch <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
drivers/usb/host/uhci-hcd.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c
--- a/drivers/usb/host/uhci-hcd.c 2005-03-30 13:37:57 -08:00
+++ b/drivers/usb/host/uhci-hcd.c 2005-03-30 13:37:57 -08:00
@@ -413,6 +413,9 @@
msleep(1);
}
+ /* Mark controller as running before we enable interrupts */
+ uhci_to_hcd(uhci)->state = USB_STATE_RUNNING;
+
/* Turn on PIRQ and all interrupts */
pci_write_config_word(to_pci_dev(uhci_dev(uhci)), USBLEGSUP,
USBLEGSUP_DEFAULT);
@@ -428,7 +431,6 @@
uhci->state_end = jiffies + HZ;
outw(USBCMD_RS | USBCMD_CF | USBCMD_MAXP, io_addr + USBCMD);
- uhci_to_hcd(uhci)->state = USB_STATE_RUNNING;
return 0;
}
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel