kernel_optimize_test/drivers/usb/core
Alan Stern c08512c761 USB: improve uses of usb_mark_last_busy
This patch (as1434) cleans up the uses of usb_mark_last_busy() in
usbcore.  The function will be called when a device is resumed and
whenever a usage count is decremented.  A call that was missing from
the hub driver is added: A hub is used whenever one of its ports gets
suspended (this prevents hubs from suspending immediately after their
last child).

In addition, the call to disable autosuspend support for new devices
by default is moved from usb_detect_quirks() (where it doesn't really
belong) into usb_new_device() along with all the other runtime-PM
initializations.  Finally, an extra pm_runtime_get_noresume() is added
to prevent new devices from autosuspending while they are being
registered.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-16 14:04:22 -08:00
..
buffer.c USB: make hcd.h public (drivers dependency) 2010-05-20 13:21:30 -07:00
config.c USB: remove the usb_host_ss_ep_comp structure 2010-05-20 13:21:40 -07:00
devices.c USB: teach "devices" file about Wireless and SuperSpeed USB 2010-10-22 10:21:40 -07:00
devio.c USB-BKL: Convert usb_driver ioctl to unlocked_ioctl 2010-08-10 14:35:35 -07:00
driver.c USB: improve uses of usb_mark_last_busy 2010-11-16 14:04:22 -08:00
endpoint.c usb: core: endpoint: Fix error path 2010-10-22 10:22:06 -07:00
file.c Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:52:56 -07:00
generic.c USB: accept RNDIS configs if there's no alternative 2010-08-10 14:35:43 -07:00
hcd-pci.c USB: make usb_mark_last_busy use pm_runtime_mark_last_busy 2010-11-16 14:02:54 -08:00
hcd.c USB: make usb_mark_last_busy use pm_runtime_mark_last_busy 2010-11-16 14:02:54 -08:00
hub.c USB: improve uses of usb_mark_last_busy 2010-11-16 14:04:22 -08:00
inode.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
Kconfig USB: update Kconfig help text for CONFIG_USB_SUSPEND 2010-09-24 11:05:01 -07:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
message.c USB: make usb_mark_last_busy use pm_runtime_mark_last_busy 2010-11-16 14:02:54 -08:00
notify.c
otg_whitelist.h
quirks.c USB: improve uses of usb_mark_last_busy 2010-11-16 14:04:22 -08:00
sysfs.c USB: use the runtime-PM autosuspend implementation 2010-11-16 14:03:41 -08:00
urb.c USB: output an error message when the pipe type doesn't match the endpoint type 2010-10-22 10:21:27 -07:00
usb.c USB: use the runtime-PM autosuspend implementation 2010-11-16 14:03:41 -08:00
usb.h USB: use the runtime-PM autosuspend implementation 2010-11-16 14:03:41 -08:00