]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB Storage: make OneTouch PM-aware
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Mon, 5 Dec 2005 05:56:51 +0000 (21:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:41 +0000 (13:51 -0800)
commit7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9
treeaa4ace5efa3454324b10f0b4036fc87a3e815bcf
parentb9b09422570e5e35a9f590a1ead63e711aefac8c
[PATCH] USB Storage: make OneTouch PM-aware

The OneTouch subdriver submits its own interrupt URB for notifications
about button presses.  Consequently it needs to know about suspend and
resume events, so it can cancel or restart the URB.

This patch (as593) adds a hook to struct us_data, to be used for
notifying subdrivers about Power Management events, and it implements
the hook in the OneTouch driver.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Nick Sillik <n.sillik@temple.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/onetouch.c
drivers/usb/storage/usb.c
drivers/usb/storage/usb.h