aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-11-23 15:45:28 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-23 23:04:28 -0800
commitf03c17fc9abe8582d6ad830290b3093fdf1eea61 (patch)
treeb110f763ddf4043ef1b994ea2f284d02f6039921 /drivers/usb/core
parentb4723ae3cc66fd067a8e661b5c05d5bd41be29b5 (diff)
downloadkernel_samsung_crespo-f03c17fc9abe8582d6ad830290b3093fdf1eea61.zip
kernel_samsung_crespo-f03c17fc9abe8582d6ad830290b3093fdf1eea61.tar.gz
kernel_samsung_crespo-f03c17fc9abe8582d6ad830290b3093fdf1eea61.tar.bz2
[PATCH] USB: EHCI updates
This fixes some bugs in EHCI suspend/resume that joined us over the past few releases (as usbcore, PCI, pmcore, and other components evolved): - Removes suspend and resume recursion from the EHCI driver, getting rid of the USB_SUSPEND special casing. - Updates the wakeup mechanism to work again; there's a newish usbcore call it needs to use. - Provide simpler tests for "do we need to restart from scratch", to address another case where PCI Vaux was lost. (In this case it was restoring a swsusp snapshot, but there could be others.) Un-exports a symbol that was temporarily exported. A notable change from previous version is that this doesn't move the spinlock init, so there's still a resume/reinit path bug. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/hub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 8407279..f78bd12 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1669,7 +1669,6 @@ int usb_suspend_device(struct usb_device *udev)
return 0;
#endif
}
-EXPORT_SYMBOL_GPL(usb_suspend_device);
/*
* If the USB "suspend" state is in use (rather than "global suspend"),