kernel-fxtec-pro1x/drivers/usb/host
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
..
ehci-dbg.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
ehci-hcd.c [PATCH] remove usb_suspend_device() parameter 2005-10-28 16:47:38 -07:00
ehci-hub.c [PATCH] USB: EHCI port tweaks 2005-09-12 12:23:42 -07:00
ehci-mem.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
ehci-q.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
ehci-sched.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
ehci.h [PATCH] USB: EHCI port tweaks 2005-09-12 12:23:42 -07:00
hc_crisv10.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
hc_crisv10.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isp116x-hcd.c [PATCH] remove usb_suspend_device() parameter 2005-10-28 16:47:38 -07:00
isp116x.h [PATCH] USB: Add isp116x-hcd USB host controller driver 2005-06-27 14:43:42 -07:00
Kconfig [PATCH] USB: Add isp116x-hcd USB host controller driver 2005-06-27 14:43:42 -07:00
Makefile [PATCH] USB: move handoff code 2005-10-28 16:47:38 -07:00
ohci-au1xxx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ohci-dbg.c [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
ohci-hcd.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
ohci-hub.c [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
ohci-lh7a404.c [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
ohci-mem.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
ohci-omap.c [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks 2005-10-28 09:52:56 -07:00
ohci-pci.c [PATCH] remove usb_suspend_device() parameter 2005-10-28 16:47:38 -07:00
ohci-ppc-soc.c [PATCH] USB: remove include of asm/usb.h in ohci-ppc-soc.c 2005-09-08 16:28:26 -07:00
ohci-pxa27x.c [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks 2005-10-28 09:52:56 -07:00
ohci-q.c [PATCH] USB: OHCI on Compaq Aramada 7400 2005-04-18 17:39:30 -07:00
ohci-s3c2410.c [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
ohci-sa1111.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ohci.h [PATCH] USB: OHCI relies less on NDP register 2005-09-12 12:23:46 -07:00
pci-quirks.c [PATCH] USB: move handoff code 2005-10-28 16:47:38 -07:00
sl811-hcd.c Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
sl811.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sl811_cs.c [PATCH] pcmcia: remove references to pcmcia/version.h 2005-07-07 18:24:07 -07:00
uhci-debug.c [PATCH] USB UHCI: Add root hub states 2005-06-27 14:43:43 -07:00
uhci-hcd.c [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00
uhci-hcd.h [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00
uhci-hub.c [PATCH] USB UHCI: remove the FSBR kernel timer 2005-09-12 12:23:40 -07:00
uhci-q.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00