From: Sarah Sharp Date: Fri, 16 Mar 2012 19:58:20 +0000 (-0700) Subject: xhci: Warn when hosts don't halt. X-Git-Tag: v3.2.32~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b89d0660eba658f9afa5ddeabc742e07bcaabea7;p=pandora-kernel.git xhci: Warn when hosts don't halt. commit 5af98bb06dee79d28c805f9fd0805ce791121784 upstream. Eric Fu reports a problem with his VIA host controller fetching a zeroed event ring pointer on resume from suspend. The host should have been halted, but we can't be sure because that code ignores the return value from xhci_halt(). Print a warning when the host controller refuses to halt within XHCI_MAX_HALT_USEC (currently 16 seconds). (Update: it turns out that the VIA host controller is reporting a halted state when it fetches the zeroed event ring pointer. However, we still need this warning for other host controllers.) Signed-off-by: Sarah Sharp Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed