aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2022-07-14 15:31:02 +0800
committerBjorn Helgaas <bhelgaas@google.com>2022-08-01 15:33:42 -0500
commita4bb720eeb1e2f2b895734ccce0dceec0a64eebd (patch)
treed65c2590ccde10bfeb583002b8e916ec5c20cff3 /drivers/pci/controller/dwc/pci-layerscape.c
parentcfacf22e0df2e3db3e90306f830a4f6c08829b05 (diff)
PCI: imx6: Turn off regulator when system is in suspend mode
The driver should undo any enables it did itself. The regulator disable shouldn't be basing decisions on regulator_is_enabled(). Move the regulator_disable to the suspend function, turn off regulator when the system is in suspend mode. Link: https://lore.kernel.org/r/1657783869-19194-11-git-send-email-hongxing.zhu@nxp.com Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions