diff options
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 36ea9499e385..5ef4baecac79 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c | |||
@@ -259,8 +259,8 @@ static inline int pcie_poll_cmd(struct controller *ctrl) | |||
259 | } | 259 | } |
260 | } | 260 | } |
261 | while (timeout > 1000) { | 261 | while (timeout > 1000) { |
262 | msleep(100); | 262 | msleep(10); |
263 | timeout -= 100; | 263 | timeout -= 10; |
264 | if (!pciehp_readw(ctrl, SLOTSTATUS, &slot_status)) { | 264 | if (!pciehp_readw(ctrl, SLOTSTATUS, &slot_status)) { |
265 | if (slot_status & CMD_COMPLETED) { | 265 | if (slot_status & CMD_COMPLETED) { |
266 | pciehp_writew(ctrl, SLOTSTATUS, CMD_COMPLETED); | 266 | pciehp_writew(ctrl, SLOTSTATUS, CMD_COMPLETED); |