summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorJim Quinlan <jim2101024@gmail.com>2021-04-30 11:21:55 -0400
committerBjorn Helgaas <bhelgaas@google.com>2021-05-03 13:15:04 -0500
commite8d6f9e56187c101b325e8d18f1d4032420d08ff (patch)
tree27bec57dc9f1b2fbd33e42b9ef455d79e872a734 /drivers/pci
parent48582b2e3b87b794a9845d488af2c76ce055502b (diff)
downloadlinux-e8d6f9e56187c101b325e8d18f1d4032420d08ff.tar.bz2
ata: ahci_brcm: Fix use of BCM7216 reset controller
This driver may use one of two resets controllers. Keep them in separate variables to keep things simple. The reset controller "rescal" is shared between the AHCI driver and the PCIe driver for the BrcmSTB 7216 chip. Use devm_reset_control_get_optional_shared() to handle this sharing. [bhelgaas: add Jens' ack from v5 posting] Fixes: 272ecd60a636 ("ata: ahci_brcm: BCM7216 reset is self de-asserting") Fixes: c345ec6a50e9 ("ata: ahci_brcm: Support BCM7216 reset controller name") Link: https://lore.kernel.org/r/20210430152156.21162-3-jim2101024@gmail.com Signed-off-by: Jim Quinlan <jim2101024@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Jens Axboe <axboe@kernel.dk> Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions