Commit 606095c0 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

[PATCH] UHCI: Workaround for broken remote wakeup

This patch adds a workaround for host controllers that don't properly
support remote wakeup.  That includes Intel controllers (on certain badly
designed motherboards) and a recent Genesys Logic controller.  Although
the UHCI driver avoids suspending the Intel-based controllers, this
workaround will handle things about as well.

In the not-too-distant future I will have to revamp most of the root-hub
suspend/resume code in the UHCI driver.  For now, please apply the patch.
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 65152f00
......@@ -44,6 +44,8 @@ static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf)
test_bit(port, &uhci->port_c_suspend))
*buf |= (1 << (port + 1));
}
if (*buf && uhci->state == UHCI_SUSPENDED)
uhci->resume_detect = 1;
return !!*buf;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment