aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorJim Quinlan <[email protected]>2021-04-30 11:21:56 -0400
committerBjorn Helgaas <[email protected]>2021-05-03 13:16:28 -0500
commitbb610757fcd74558ad94fe19993fd4470208dd02 (patch)
treecab490fe6471176bdd89afeef31bc5ba9291ca25 /drivers/pci/controller/pci-host-common.c
parente8d6f9e56187c101b325e8d18f1d4032420d08ff (diff)
PCI: brcmstb: Use reset/rearm instead of deassert/assert
The Broadcom STB PCIe RC uses a reset control "rescal" for certain chips. The "rescal" implements a "pulse reset" so using assert/deassert is wrong for this device. Instead, we use reset/rearm. We need to use rearm so that we can reset it after a suspend/resume cycle; w/o using "rearm", the "rescal" device will only ever fire once. Of course for suspend/resume to work we also need to put the reset/rearm calls in the suspend and resume routines. Fixes: 740d6c3708a9 ("PCI: brcmstb: Add control of rescal reset") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jim Quinlan <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions