]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: gadget: composite device-level suspend/resume hooks
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 19 Mar 2009 21:14:17 +0000 (14:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:45 +0000 (16:20 -0700)
commit8942939a6c83f34615de5ae041cc9ca846923f94
tree4d3715a1f4ddca640ed60efb5fffabfcc785538e
parente1e609be49c9d345e8b67a122a7cdae48ad27c7e
USB: gadget: composite device-level suspend/resume hooks

Address one open question in the composite gadget framework:
Yes, we should have device-level suspend/resume callbacks
in addition to the function-level ones.  We have at least one
scenario (with gadget zero in OTG test mode) that's awkward
to handle without it.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/composite.c
include/linux/usb/composite.h