diff options
author | Jim Quinlan <jim2101024@gmail.com> | 2022-07-25 18:12:54 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-07-27 19:53:08 +0300 |
commit | 7a32e9b3ff01cdc12ea124fa258aacd31490dd11 (patch) | |
tree | f98dbd6b58d8b5a847293d1fd7f0dca44bae469f /scripts/gdb/linux/proc.py | |
parent | 9e6be018b26347c26a93e63fb50a37ee2c9311de (diff) | |
download | linux-7a32e9b3ff01cdc12ea124fa258aacd31490dd11.tar.xz |
PCI: brcmstb: Disable/enable regulators in suspend/resume
If we found power regulators for a device below the Root Port, disable them
during suspend and re-enable them during resume.
If any downstream device can be a wakeup device, do not turn off the
regulators as the device will need them on.
[bhelgaas: drop unused regulator_oops, skip wrapping of .add_bus()/
.remove_bus(), move brcm_pcie_start_link() to .add_bus() in previous patch,
squash WOL checking into this patch]
Link: https://lore.kernel.org/r/20220725151258.42574-6-jim2101024@gmail.com
Link: https://lore.kernel.org/r/20220725151258.42574-7-jim2101024@gmail.com
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions