From: Alan Stern Date: Tue, 14 May 2013 17:55:29 +0000 (-0400) Subject: USB: UHCI: fix for suspend of virtual HP controller X-Git-Tag: v3.10-rc3~26^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=997ff893603c6455da4c5e26ba1d0f81adfecdfc;p=pandora-kernel.git USB: UHCI: fix for suspend of virtual HP controller HP's virtual UHCI host controller takes a long time to suspend (several hundred microseconds), even when no devices are attached. This provokes a warning message from uhci-hcd in the auto-stop case. To prevent this from happening, this patch adds a test to avoid performing an auto-stop when the wait_for_hp quirk flag is set. The controller will still suspend through the normal runtime PM mechanism. And since that pathway includes a 1-ms delay, the slowness of the virtual hardware won't matter. Signed-off-by: Alan Stern Reported-and-tested-by: ZhenHua CC: Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed