]> git.baikalelectronics.ru Git - kernel.git/commit
USB: move decision to ignore FREEZE events
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 10 Sep 2007 15:31:43 +0000 (11:31 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:26 +0000 (14:55 -0700)
commite88d62c2e6e8417b1d34fad97318093daa4d1ce2
tree02c6b1413fdcb01e7086ae2dfb2b84796ce9b775
parent1df4ec0ee864655cb23dbb6e43d595b0f1e651a4
USB: move decision to ignore FREEZE events

This patch (as987) changes the way FREEZE and PRETHAW suspend events
are handled in usbcore.  The decision about whether or not to ignore
them for non-root devices is pushed down into the USB-device driver,
instead of being made in the core code.

This is appropriate, since devices exported to a virtualized guest or
over a network may indeed need to handle these types of suspend, even
though normal devices don't.

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