android_kernel_samsung_msm8226/drivers/usb/core
Alan Stern b2c0a863e1 USB: Update last_busy time after autosuspend fails
Originally, the runtime PM core would send an idle notification
whenever a suspend attempt failed.  The idle callback routine could
then schedule a delayed suspend for some time later.

However this behavior was changed by commit
f71648d73c (PM / Runtime: Remove idle
notification after failing suspend).  No notifications were sent, and
there was no clear mechanism to retry failed suspends.

This caused problems for the usbhid driver, because it fails
autosuspend attempts as long as a key is being held down.  A companion
patch changes the PM core's behavior, but we also need to change the
USB core.  In particular, this patch (as1493) updates the device's
last_busy time when an autosuspend fails, so that the PM core will
retry the autosuspend in the future when the delay time expires
again.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Henrik Rydberg <rydberg@euromail.se>
Cc: <stable@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2011-11-04 22:28:14 +01:00
..
buffer.c
config.c usbcore: get BOS descriptor set 2011-09-26 15:51:08 -07:00
devices.c USB: use usb_endpoint_maxp() instead of le16_to_cpu() 2011-08-23 09:47:40 -07:00
devio.c user namespace: usb: make usb urbs user namespace aware (v2) 2011-09-29 13:13:08 -07:00
driver.c USB: Update last_busy time after autosuspend fails 2011-11-04 22:28:14 +01:00
endpoint.c USB: use usb_endpoint_maxp() instead of le16_to_cpu() 2011-08-23 09:47:40 -07:00
file.c USB: remove dead code from usb_deregister_dev() 2011-04-13 16:24:05 -07:00
generic.c
hcd-pci.c USB: irq: Remove IRQF_DISABLED 2011-09-18 01:39:36 -07:00
hcd.c Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2011-10-25 15:18:39 +02:00
hub.c Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2011-10-25 15:18:39 +02:00
inode.c usb: remove bad dput after dentry_unhash 2011-06-06 16:26:59 -07:00
Kconfig
Makefile
message.c USB: message: cleanup min_t() cast in usb_sg_init() 2011-09-29 13:13:07 -07:00
notify.c
otg_whitelist.h
quirks.c USB: add quirk for Logitech C300 web cam 2011-09-29 13:19:46 -07:00
sysfs.c usbcore: add sysfs support to xHCI usb2 hardware LPM 2011-09-26 15:51:10 -07:00
urb.c USB: use usb_endpoint_maxp() instead of le16_to_cpu() 2011-08-23 09:47:40 -07:00
usb.c usbcore: get BOS descriptor set 2011-09-26 15:51:08 -07:00
usb.h xHCI: set USB2 hardware LPM 2011-09-26 15:51:10 -07:00