]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Drop slot workqueue
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:42 +0000 (17:27 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 23 Jul 2018 22:04:13 +0000 (17:04 -0500)
commit1fbdbf356b2488aa094f2c75504b20de1c5d93dd
tree7c496fba003e8f656ee79cd5108bfd982af90c1c
parent9b2b638ab7f40c891a5c1b3861f0c9cabdb3674e
PCI: pciehp: Drop slot workqueue

Previously the slot workqueue was used to handle events and enable or
disable the slot.  That's no longer the case as those tasks are done
synchronously in the IRQ thread.  The slot workqueue is thus merely used
to handle a button press after the 5 second delay and only one such work
item may be in flight at any given time.  A separate workqueue isn't
necessary for this simple task, so use the system workqueue instead.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c