]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b4dd1adf7ca3862a2b58f5dbb63971d5efe80a9
tree677b7e2a3214007d7499ed871e808b8aee16f784
parentc96665a11e8a851aa4e3a00edd54e09879bfa1b2
PCI: pciehp: Fix pcie_wait_cmd() timeout

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

Fixes: 308786d7d8a9 ("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