From: Alan Stern Date: Mon, 23 Apr 2012 17:54:36 +0000 (-0400) Subject: EHCI: maintain the ehci->command value properly X-Git-Tag: v3.5-rc1~149^2~327 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9545cc375d117554a9b35dfddadf9189c62775;p=pandora-kernel.git EHCI: maintain the ehci->command value properly The ehci-hcd driver is a little haphazard about keeping track of the state of the USBCMD register. The ehci->command field is supposed to hold the register's value (apart from a few special bits) at all times, but it isn't maintained properly. This patch (as1543) cleans up the situation. It keeps ehci->command up-to-date, and uses that value rather than reading the register from the hardware whenever possible. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed