summaryrefslogtreecommitdiff
path: root/block/ioctl.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2012-04-23 21:54:36 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-23 23:05:44 +0400
commit3d9545cc375d117554a9b35dfddadf9189c62775 (patch)
treeb01707d2e0901665f20bae0f0c5a0930af69651a /block/ioctl.c
parent09091a4d5f2dd378dcf71de50b48cdacc58a8ac0 (diff)
downloadlinux-3d9545cc375d117554a9b35dfddadf9189c62775.tar.xz
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 <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions