diff options
author | Frank Li <Frank.Li@nxp.com> | 2023-12-04 19:08:26 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2023-12-12 13:11:38 +0300 |
commit | 123971a193d9ac70b207c24c9f4ed6908b837bb6 (patch) | |
tree | 145129ecd6439be3985272e2bd4fddb8f8af6791 /tools/perf/scripts/python/stackcollapse.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
download | linux-123971a193d9ac70b207c24c9f4ed6908b837bb6.tar.xz |
PCI: layerscape: Add function pointer for exit_from_l2()
Since different SoCs require different sequences for exiting L2, let's add
a separate "exit_from_l2()" callback to handle SoC specific sequences.
Change ls_pcie_exit_from_l2() return value from void to int in order
to propagate errors. Return an error if the exit_from_l2() callback
fails in the resume flow.
Link: https://lore.kernel.org/r/20231204160829.2498703-2-Frank.Li@nxp.com
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Roy Zang <Roy.Zang@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions