diff options
author | 2014-06-13 13:58:35 -0600 | |
---|---|---|
committer | 2014-06-16 11:47:59 -0600 | |
commit | 4283c70e91dcabe36f3545afabc5ee2b7d4da34a (patch) | |
tree | a21257faabcd4bff13e254e4a3c7a3446f2ca459 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Prevent NULL dereference during pciehp probe (diff) | |
download | linux-dev-4283c70e91dcabe36f3545afabc5ee2b7d4da34a.tar.xz linux-dev-4283c70e91dcabe36f3545afabc5ee2b7d4da34a.zip |
PCI: pciehp: Make pcie_wait_cmd() self-contained
pcie_wait_cmd() waits for the controller to finish a hotplug command. Move
the associated logic (to determine whether waiting is required and whether
we're using interrupts or polling) from pcie_write_cmd() to
pcie_wait_cmd().
No functional change.
Tested-by: Rajat Jain <rajatxjain@gmail.com> (IDT 807a controller)
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions