]> err.no Git - linux-2.6/commit
usb-storage: implement autosuspend
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 6 Jul 2007 18:24:27 +0000 (14:24 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:43 +0000 (16:34 -0700)
commit8dfe4b14869fd185ca25ee88b02ada58a3005eaf
tree0c0c8812f1d038706bd82ff0d7b3570d67645e68
parentb0e2a705bffbfb70d9bed8b5f9094901f28d9563
usb-storage: implement autosuspend

This patch (as930) implements autosuspend for usb-storage.  It is
adapted from a patch by Oliver Neukum.  Autosuspend is allowed except
during LUN scanning, resets, and command execution.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/scsiglue.c
drivers/usb/storage/usb.c