diff options
| author | Frank Li <[email protected]> | 2023-12-04 16:08:26 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2023-12-12 10:11:38 +0000 |
| commit | 123971a193d9ac70b207c24c9f4ed6908b837bb6 (patch) | |
| tree | 145129ecd6439be3985272e2bd4fddb8f8af6791 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | Linux 6.7-rc1 (diff) | |
| download | kernel-123971a193d9ac70b207c24c9f4ed6908b837bb6.tar.gz kernel-123971a193d9ac70b207c24c9f4ed6908b837bb6.zip | |
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/[email protected]
Signed-off-by: Frank Li <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Acked-by: Roy Zang <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
