From: Alan Stern Date: Tue, 30 Jul 2013 19:39:02 +0000 (-0400) Subject: USB: handle LPM errors during device suspend correctly X-Git-Tag: v3.12-rc1~186^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fae6f0fa86f92e6bc7429371b1e177ad0aaac66;p=pandora-kernel.git USB: handle LPM errors during device suspend correctly The hub driver's usb_port_suspend() routine doesn't handle errors related to Link Power Management properly. It always returns failure, it doesn't try to clean up the wakeup setting, (in the case of system sleep) it doesn't try to go ahead with the port suspend regardless, and it doesn't try to apply the new power-off mechanism. This patch fixes these problems. Signed-off-by: Alan Stern Acked-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed