Rajat Jain 50b52fdee0 PCI: pciehp: Add hotplug_lock to serialize hotplug events
Today it is there is no protection around pciehp_enable_slot() and
pciehp_disable_slot() to ensure that they complete before another
hot-plug operation can be done on that particular slot.

This patch introduces the slot->hotplug_lock to ensure that any hotplug
operations (add / remove) complete before another hotplug event can begin
processing on that particular slot.

Signed-off-by: Rajat Jain <rajatxjain@gmail.com>
Signed-off-by: Rajat Jain <rajatjain@juniper.net>
Signed-off-by: Guenter Roeck <groeck@juniper.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-02-11 16:13:16 -07:00
..
2014-01-23 18:36:55 -08:00
2014-01-13 11:14:43 -07:00
2014-01-10 14:23:15 -07:00
2014-01-07 17:34:39 -07:00
2014-01-22 16:39:28 -08:00
2014-01-13 11:57:29 -07:00
2014-01-13 11:14:44 -07:00
2014-01-22 22:00:18 -08:00