Revert "PCI: imx6: Add support for active-low reset GPIO"
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 28 Mar 2016 21:45:36 +0000 (18:45 -0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Apr 2016 21:20:37 +0000 (16:20 -0500)
commitb2d7a9cd3ff8ec561348267c2ef7d47b2b91e801
tree7bf85f7da01760ca8cd26eff77738a469f9dd913
parent9735a22799b9214d17d3c231fe377fc852f042e9
Revert "PCI: imx6: Add support for active-low reset GPIO"

Commit 5c5fb40de8f1 ("PCI: imx6: Add support for active-low reset GPIO")
cause regressions on some boards like MX6 Gateworks Ventana, for example.

The reason for the breakage is that this commit sets the GPIO polarity in
the wrong logic level.

Also, the commit log is wrong because active-low reset GPIO is what the
driver used to support since the beginning.

So keep the old behavior that ignores the GPIO polarity specified in the
device tree and treat the PCI reset GPIO as active-low.

Reported-by: Krzysztof HaƂasa <khalasa@piap.pl>
Tested-by: Tim Harvey <tharvey@gateworks.com> # Gateworks Ventana
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
CC: stable@vger.kernel.org # v4.5+
drivers/pci/host/pci-imx6.c
This page took 0.025303 seconds and 5 git commands to generate.