diff options
author | Richard Zhu <[email protected]> | 2022-07-14 15:31:09 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2022-08-01 15:34:09 -0500 |
commit | 835a345b18b013cc03b0fc392394fbccd61d4efb (patch) | |
tree | 41f160778536d4fbb90c4d3f5b04c92f7c8de25d /scripts/gdb/linux/tasks.py | |
parent | 1c5e761565c10945049e5d52fb17540cda23690e (diff) |
PCI: imx6: Reformat suspend callback to keep symmetric with resume
Create imx6_pcie_stop_link() and imx6_pcie_host_exit() functions.
Encapsulate clocks, regulators disables and PHY uninitialization into
imx6_pcie_host_exit().
To keep suspend/resume symmetric as much as possible, invoke these two
new created functions in suspend callback.
To be symmetric with imx6_pcie_host_exit(), move imx6_pcie_clk_enable()
to imx6_pcie_host_init() from imx6_pcie_deassert_core_reset().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Richard Zhu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions