]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: shpchp: Handle push button event asynchronously
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Jan 2013 19:07:22 +0000 (12:07 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Jan 2013 17:23:07 +0000 (10:23 -0700)
commit2bf34f057038e9c6ce207a6c05c41aa1bac9b297
tree7dfe6294b84f3cd1ba3cabe6b2cf7e040d8fa71c
parent304dd061ddb52ad234e77eb8393fbf69d8df2dc5
PCI: shpchp: Handle push button event asynchronously

Use non-ordered workqueue for attention button events.

Attention button events on each slot can be handled asynchronously. So
we should use non-ordered workqueue. This patch also removes ordered
workqueue in shpchp as a result.

ce8da15a39 ("PCI: pciehp: Handle push button event asynchronously") made
the same change to pciehp.  I split this out from a patch by Yijing Wang
<wangyijing@huawei.com> so we fix one thing at a time and to make the
shpchp history correspond more closely with the pciehp history.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_ctrl.c