summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2011-11-07 12:55:46 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-01-06 21:10:27 +0100
commit863b7eb583704346d64a08b0e723635da692959e (patch)
tree8001a85d37812ee53ad2850bc003085afe997ed4 /drivers/pci/pci-sysfs.c
parentPCI: Rework ASPM disable code (diff)
downloadlinux-863b7eb583704346d64a08b0e723635da692959e.tar.xz
linux-863b7eb583704346d64a08b0e723635da692959e.zip
PCI: pciehp: Fix wrong workqueue cleanup
Fix improper workqueue cleanup. In the current pciehp, pcied_cleanup() calls destroy_workqueue() before calling pcie_port_service_unregister(). This causes kernel oops because flush_workqueue() is called in the pcie_port_service_unregister() code path after the workqueue was destroyed. So pcied_cleanup() must call pcie_port_service_unregister() first before calling destroy_workqueue(). Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions