summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/pci-quirks.c
diff options
context:
space:
mode:
authorMathias Nyman2017-09-18 16:39:13 +0200
committerGreg Kroah-Hartman2017-09-18 17:10:41 +0200
commit5a838a13c9b4e5dd188b7a6eaeb894e9358ead0c (patch)
tree31917e8136c040a51ed8ee1bea687af57d0d3e9e /drivers/usb/host/pci-quirks.c
parentusb: xhci: Free the right ring in xhci_add_endpoint() (diff)
downloadkernel-qcow2-linux-5a838a13c9b4e5dd188b7a6eaeb894e9358ead0c.tar.gz
kernel-qcow2-linux-5a838a13c9b4e5dd188b7a6eaeb894e9358ead0c.tar.xz
kernel-qcow2-linux-5a838a13c9b4e5dd188b7a6eaeb894e9358ead0c.zip
xhci: fix finding correct bus_state structure for USB 3.1 hosts
xhci driver keeps a bus_state structure for each hcd (usb2 and usb3) The structure is picked based on hcd speed, but driver only compared for HCD_USB3 speed, returning the wrong bus_state for HCD_USB31 hosts. This caused null pointer dereference errors in bus_resume function. Cc: <stable@vger.kernel.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/pci-quirks.c')
0 files changed, 0 insertions, 0 deletions