PCI: pciehp: Fix pcie_wait_cmd() timeout
authorYinghai Lu <yinghai@kernel.org>
Tue, 23 Sep 2014 02:05:45 +0000 (20:05 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Sep 2014 02:05:45 +0000 (20:05 -0600)
commit7cbeb9f90db8e56856db7568520b735732d34d86
tree677b7e2a3214007d7499ed871e808b8aee16f784
parent12d8706963f073fffad16c7c24160ef20d9aeaff
PCI: pciehp: Fix pcie_wait_cmd() timeout

pcie_poll_cmd() take msecs instead of jiffies, so convert timeout to msecs.

Fixes: 40b960831cfa ("PCI: pciehp: Compute timeout from hotplug command start time")
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_hpc.c