]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: add USB-Persist facility
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 4 May 2007 15:52:20 +0000 (11:52 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:47 +0000 (16:29 -0700)
commit0458d5b4c9cc4ca0f62625d0144ddc4b4bc97a3c
tree8b1fcb4f063ef4aa6f2e3cd41a60d986a1e432d4
parentce7cd137fced114d49178b73d468b82096a107fb
USB: add USB-Persist facility

This patch (as886) adds the controversial USB-persist facility,
allowing USB devices to persist across a power loss during system
suspend.

The facility is controlled by a new Kconfig option (with appropriate
warnings about the potential dangers); when the option is off the
behavior will remain the same as it is now.  But when the option is
on, people will be able to use suspend-to-disk and keep their USB
filesystems intact -- something particularly valuable for small
machines where the root filesystem is on a USB device!

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/power/swsusp.txt
Documentation/usb/persist.txt [new file with mode: 0644]
drivers/hid/usbhid/hid-core.c
drivers/usb/core/Kconfig
drivers/usb/core/driver.c
drivers/usb/core/generic.c
drivers/usb/core/hub.c
drivers/usb/core/usb.h
drivers/usb/storage/usb.c
include/linux/usb.h