diff options
author | Dmitry Torokhov <dtor@vmware.com> | 2013-02-25 10:56:01 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-28 12:06:03 -0700 |
commit | 1f9e70fa1d260bb1ed217bd636cad0c1d0a29f24 (patch) | |
tree | 745f290805aaac1810bc7319a519a9f0df233414 /fs | |
parent | 84bde6521f50d67ecdb52777da3901430470bd5d (diff) | |
download | lwn-1f9e70fa1d260bb1ed217bd636cad0c1d0a29f24.tar.gz lwn-1f9e70fa1d260bb1ed217bd636cad0c1d0a29f24.zip |
USB: xhci - fix bit definitions for IMAN register
commit f8264340e694604863255cc0276491d17c402390 upstream.
According to XHCI specification (5.5.2.1) the IP is bit 0 and IE is bit 1
of IMAN register. Previously their definitions were reversed.
Even though there are no ill effects being observed from the swapped
definitions (because IMAN_IP is RW1C and in legacy PCI case we come in
with it already set to 1 so it was clearing itself even though we were
setting IMAN_IE instead of IMAN_IP), we should still correct the values.
This patch should be backported to kernels as old as 2.6.36, that
contain the commit 4e833c0b87a30798e67f06120cecebef6ee9644c "xhci: don't
re-enable IE constantly".
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions