kernel-ark/drivers/usb/core
David Brownell 390a8c345e [PATCH] remove usb_suspend_device() parameter
This patch removes the extra usb_suspend_device() parameter.  The original
reason to pass that parameter was so that this routine could suspend any
active children.  A previous patch removed that functionality ... leaving
no reason to pass the parameter.  A close analogy is pci_set_power_state,
which doesn't need a pm_message_t either.

On the internal code path that comes through the driver model, the parameter
is now used to distinguish cases where USB devices need to "freeze" but not
suspend.   It also checks for an error case that's accessible through sysfs:
attempting to suspend a device before its interfaces (or for hubs, ports).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

 drivers/usb/core/hub.c         |   34 +++++++++++++++++++++-------------
 drivers/usb/core/usb.c         |   23 +++++++++++++++++++++--
 drivers/usb/host/ehci-hcd.c    |    2 +-
 drivers/usb/host/isp116x-hcd.c |    2 +-
 drivers/usb/host/ohci-pci.c    |    2 +-
 include/linux/usb.h            |    2 +-
 6 files changed, 46 insertions(+), 19 deletions(-)
2005-10-28 16:47:38 -07:00
..
buffer.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
config.c [PATCH] USB: fix up some sparse warnings about static functions that aren't static. 2005-04-18 17:39:24 -07:00
devices.c [PATCH] make driver's name be const char * 2005-06-20 15:15:01 -07:00
devio.c [PATCH] USB: add more snooping hooks in devio.c 2005-10-28 16:47:38 -07:00
file.c [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed 2005-10-28 16:47:37 -07:00
hcd-pci.c [PATCH] usb/core/hcd-pci.c: don't free_irq() on suspend 2005-09-30 09:23:30 -07:00
hcd.c Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
hcd.h [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
hub.c [PATCH] remove usb_suspend_device() parameter 2005-10-28 16:47:38 -07:00
hub.h [PATCH] ehci: add think_time 2005-09-08 16:28:35 -07:00
inode.c Use the new "kill_proc_info_as_uid()" for USB disconnect too 2005-10-10 16:31:30 -07:00
Kconfig
Makefile [PATCH] USB: real nodes instead of usbfs 2005-09-08 16:22:29 -07:00
message.c [PATCH] usb_interface power state 2005-10-28 16:47:38 -07:00
otg_whitelist.h
sysfs.c [PATCH] USB: add endpoint information to sysfs 2005-10-28 16:47:37 -07:00
urb.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
usb.c [PATCH] remove usb_suspend_device() parameter 2005-10-28 16:47:38 -07:00
usb.h [PATCH] usb_interface power state 2005-10-28 16:47:38 -07:00