diff options
author | Amey Narkhede <[email protected]> | 2021-08-17 23:34:53 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-08-17 15:23:13 -0500 |
commit | 56f107d7813f116484019617043393a7753ffcbf (patch) | |
tree | a14f18fe3997ce0c136e4cc546f4217ec47555cb /lib/test_overflow.c | |
parent | 69139244806537f9d51364f37fe146bb2ee88a05 (diff) |
PCI: Add pcie_reset_flr() with 'probe' argument
Most reset methods are of the form "pci_*_reset(dev, probe)". pcie_flr()
was an exception because it relied on a separate pcie_has_flr() function
instead of taking a "probe" argument.
Add "pcie_reset_flr(dev, probe)" to follow the convention. Remove
pcie_has_flr().
Some pcie_flr() callers that did not use pcie_has_flr() remain.
[bhelgaas: commit log, rework pcie_reset_flr() to use dev->devcap directly]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Amey Narkhede <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Raphael Norwitz <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions