summaryrefslogtreecommitdiff
path: root/drivers/usb/misc/usbtest.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2013-11-15 14:53:14 -0800
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-12-19 13:23:56 -0800
commit9005355af23856c55a5538c9024355785424821b (patch)
treeda655a4b1999971ae717f6ce0550786bbee9b0ae /drivers/usb/misc/usbtest.c
parent599459d8230bd6af9c354e00ad6608c43b6f7426 (diff)
usb: xhci: Check for XHCI_PLAT in xhci_cleanup_msix()
If CONFIG_PCI is enabled, make sure xhci_cleanup_msix() doesn't try to free a bogus PCI IRQ or dereference an invalid pci_dev when the xHCI device is actually a platform_device. This patch should be backported to kernels as old as 3.9, that contain the commit 52fb61250a7a132b0cfb9f4a1060a1f3c49e5a25 "xhci-plat: Don't enable legacy PCI interrupts." Signed-off-by: Jack Pham <jackp@codeaurora.org> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
0 files changed, 0 insertions, 0 deletions