Messages in this thread Patch in this message | | | Date | Fri, 19 Jul 2002 12:43:26 -0700 | From | Greg KH <> | Subject | Re: [USB] uhci-hcd oops on APM resume (2.5.23-26) |
| |
On Thu, Jul 18, 2002 at 11:28:23PM -0700, Craig Kulesa wrote: > > > Looks fine. Works great! Upon the first APM suspend:
Hm, does this patch from Jan Harkes solve the uhci-hcd resume problem for you?
thanks,
greg k-h
--- linux-2.5.24.orig/drivers/usb/host/uhci-hcd.c Fri Jun 21 14:56:12 2002 +++ linux-2.5.24/drivers/usb/host/uhci-hcd.c Sun Jul 7 01:18:44 2002 @@ -2074,6 +2074,8 @@ /* Run and mark it configured with a 64-byte max packet */ outw(USBCMD_RS | USBCMD_CF | USBCMD_MAXP, io_addr + USBCMD); + + uhci->hcd.state = USB_STATE_READY; } #ifdef CONFIG_PROC_FS @@ -2364,8 +2366,6 @@ /* disable legacy emulation */ pci_write_config_word(dev, USBLEGSUP, USBLEGSUP_DEFAULT); - - hcd->state = USB_STATE_READY; usb_connect(uhci->rh_dev); uhci->rh_dev->speed = USB_SPEED_FULL; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |