diff options
author | David Gibson <[email protected]> | 2015-06-03 14:52:59 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-06-07 19:11:49 +1000 |
commit | 502f159c0239863deebfc50e09c0892d0c157101 (patch) | |
tree | 71f0a26e6923001fbc08ec9e213b98da9ddc9bac /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0d7cd8550d30906c7461ced654306da30f1590e2 (diff) |
powerpc/eeh: Fix trivial error in eeh_restore_dev_state()
Commit 28158cd "powerpc/eeh: Enhance pcibios_set_pcie_reset_state()"
introduced a fix for a problem where certain configurations could lead to
pci_reset_function() destroying the state of PCI devices other than the one
specified.
Unfortunately, the fix has a trivial bug - it calls pci_save_state() again,
when it should be calling pci_restore_state(). This corrects the problem.
Cc: Gavin Shan <[email protected]>
Signed-off-by: David Gibson <[email protected]>
Acked-by: Gavin Shan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions