]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3868742256e1b3afbe476815294036e37abacc0d
tree84f57be8d7b83cb6d1184a1553b86b16be58c4b1
parent61a68141ab9d2d852e3a52776f5e779a67261157
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: ac4eb773acbb ("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