diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-02-09 14:43:44 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-29 16:31:07 -0800 |
commit | 60e1345a34208c8024e01dc7481e090737720d90 (patch) | |
tree | 2a3eb2a785ac87d11d04188d99033964a3487d6a /drivers/power | |
parent | 6dc2acf66f46c7aee7ae6617612fcf32fc6b0de5 (diff) |
xhci: Fix oops caused by more USB2 ports than USB3 ports.
commit 3278a55a1aebe2bbd47fbb5196209e5326a88b56 upstream.
The code to set the device removable bits in the USB 2.0 roothub
descriptor was accidentally looking at the USB 3.0 port registers
instead of the USB 2.0 registers. This can cause an oops if there are
more USB 2.0 registers than USB 3.0 registers.
This should be backported to kernels as old as 2.6.39, that contain the
commit 4bbb0ace9a3de8392527e3c87926309d541d3b00 "xhci: Return a USB 3.0
hub descriptor for USB3 roothub."
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions