staging: mt7621-pci: use gpio perst instead of builtin behaviour
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 19 Jun 2019 07:44:56 +0000 (09:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2019 12:45:49 +0000 (14:45 +0200)
commit07420a02b003ea1f162c4f85a58b3458a4406ce6
treeab8300f9d40804de998df9dc5086fd294670b273
parentfdd228cd6d9074b47854af31d224c4241a277618
staging: mt7621-pci: use gpio perst instead of builtin behaviour

Some boards seems to ignore the PERST builtin behaviour to properly
perform a pcie line reset. Use gpio PERST behaviour instead which
seems to be more common.

Fixes: bd1a05bd87ad ("staging: mt7621-pci: use PERST_N instead of gpio control")
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c