Alan Stern <[EMAIL PROTECTED]> wrote:
>
> For now, you can workaround the bug by adding:
> 
>       spin_lock_init(&ehci_lock);
> 
>  as the first line of drivers/usb/host/ehci-pci.c:ehci_pci_reset().

Yup.

--- devel/drivers/usb/host/ehci-pci.c~gregkh-usb-usb-pm-09-fix  2005-11-25 
19:03:59.000000000 -0800
+++ devel-akpm/drivers/usb/host/ehci-pci.c      2005-11-25 19:03:59.000000000 
-0800
@@ -129,6 +129,8 @@ static int ehci_pci_reset(struct usb_hcd
        u32                     temp;
        int                     retval;
 
+       spin_lock_init(&ehci->lock);
+
        ehci->caps = hcd->regs;
        ehci->regs = hcd->regs + HC_LENGTH(readl(&ehci->caps->hc_capbase));
        dbg_hcs_params(ehci, "reset");
_



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to