From: Alan Stern Date: Fri, 2 Apr 2010 17:18:50 +0000 (-0400) Subject: USB: improve runtime remote wakeup settings X-Git-Tag: v2.6.35-rc1~471^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7560d32ec70508a71f537a88e40f7717f15389ac;p=pandora-kernel.git USB: improve runtime remote wakeup settings This patch (as1362) adjusts the way the USB autosuspend routines handle remote-wakeup settings. They aren't supposed to use device_may_wakeup(); that test is intended only for system sleep, not runtime power management. Instead the code checks to see if any interface drivers need remote wakeup; if they do then it is enabled, provided the device is capable of it. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed