From: Andiry Xu Date: Tue, 19 Apr 2011 09:17:39 +0000 (+0800) Subject: xHCI: Clear PLC in xhci_bus_resume() X-Git-Tag: v2.6.39-rc7~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f0871a6c7811a433513c3788a7cce27033bb8b8;p=pandora-kernel.git xHCI: Clear PLC in xhci_bus_resume() This patch clears PORT_PLC if xhci_bus_resume() resumes a previous suspended port, because if a port transition from U3 to U0 state, it will report a port link state change, and software should clear the corresponding PLC bit. It also uses hcd->speed to check if a port is a USB2 protocol port. The patch fixes the issue that USB keyboard can not wakeup system from hibernation. Signed-off-by: Andiry Xu Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed