]> 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)
commitc013c21b8035edb7af2001e5e8779dff046c385b
tree677b7e2a3214007d7499ed871e808b8aee16f784
parent7ebb0e23295db3b29832d45c483acf8de4c9c049
PCI: pciehp: Fix pcie_wait_cmd() timeout

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

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