]> 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)
commit84a176aeca2f765ee2dffe41caf9fc4d08903cf4
tree84f57be8d7b83cb6d1184a1553b86b16be58c4b1
parentf1f8d7b9d18a6a14a3d5a5ac4b4c9fa029d76152
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: c20870b4ee0c ("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