Re: [PATCH v3 3/6] PCI: brcmstb: Do not turn off regulators if EP can wake up
From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2021-03-26 20:18:39
Also in:
linux-pci, lkml
From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2021-03-26 20:18:39
Also in:
linux-pci, lkml
On Fri, Mar 26, 2021 at 03:19:01PM -0400, Jim Quinlan wrote:
If any downstream device may wake up during S2/S3 suspend, we do not want to turn off its power when suspending. Signed-off-by: Jim Quinlan <jim2101024@gmail.com> --- drivers/pci/controller/pcie-brcmstb.c | 58 +++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 7 deletions(-)
+enum {
+ TURN_OFF, /* Turn egulators off, unless an EP is wakeup-capable */
+ TURN_OFF_ALWAYS, /* Turn Regulators off, no exceptions */
+ TURN_ON, /* Turn regulators on, unless pcie->ep_wakeup_capable */s/egulators/regulators/ s/Regulators/regulators/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel