From: David Brownell Date: Thu, 19 Mar 2009 21:16:09 +0000 (-0700) Subject: USB: gadget: gadget zero uses new suspend/resume hooks X-Git-Tag: v2.6.30-rc1~670^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab943a2e125b098489ccaa0166c2c52f8266d9ed;p=pandora-kernel.git USB: gadget: gadget zero uses new suspend/resume hooks Use the new device-level suspend/resume hooks for Gadget Zero; always enable them with the OTG test mode; and support remote wakeup on both configurations even in non-OTG mode. This ensures that both configurations can pass the USBCV remote wakeup tests when the OTG test mode is enabled. This changes behavior by adding autoresume support to the loopback config even in non-OTG mode; the test failure was that it didn't work in OTG mode. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed