diff options
Diffstat (limited to 'drivers/pci/hotplug/pciehp_hpc.c')
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 8c2d6c9b92c5..b2cde04ede1a 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c | |||
@@ -674,6 +674,13 @@ static int hpc_power_off_slot(struct slot * slot) | |||
674 | dbg("%s: SLOTCTRL %x write cmd %x\n", | 674 | dbg("%s: SLOTCTRL %x write cmd %x\n", |
675 | __FUNCTION__, ctrl->cap_base + SLOTCTRL, slot_cmd); | 675 | __FUNCTION__, ctrl->cap_base + SLOTCTRL, slot_cmd); |
676 | 676 | ||
677 | /* | ||
678 | * After turning power off, we must wait for at least 1 second | ||
679 | * before taking any action that relies on power having been | ||
680 | * removed from the slot/adapter. | ||
681 | */ | ||
682 | msleep(1000); | ||
683 | |||
677 | return retval; | 684 | return retval; |
678 | } | 685 | } |
679 | 686 | ||