PCI: apple: Fix PERST# polarity
authorMarc Zyngier <maz@kernel.org>
Tue, 23 Nov 2021 18:06:36 +0000 (18:06 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Dec 2021 20:27:29 +0000 (14:27 -0600)
commit87620512681a20ef24ece85ac21ff90c9efed37d
tree84f57be8d7b83cb6d1184a1553b86b16be58c4b1
parent5b970dfcfee9e04e041c9eeac5dbd1ccc719c249
PCI: apple: Fix PERST# polarity

Now that PERST# is properly defined as active-low in the device tree, fix
the driver to correctly drive the line independently of the implied
polarity.

Suggested-by: Pali Rohár <pali@kernel.org>
Fixes: 1e33888fbe44 ("PCI: apple: Add initial hardware bring-up")
Link: https://lore.kernel.org/r/20211123180636.80558-4-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
drivers/pci/controller/pcie-apple.c