]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: don't return if get gpio fails
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 19 Mar 2020 16:14:16 +0000 (17:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Mar 2020 16:31:12 +0000 (17:31 +0100)
commitfe7930f86b523acc7d1157cfb761d6a839bbf547
treedf224f92b17189f83604fa19fada03f7e0e69a62
parent3dea7d5f618bec9a7621e6d26d64eba34591ed23
staging: mt7621-pci: don't return if get gpio fails

In some platforms gpio's are not used for reset but
for other purposes. Because of that when we try to
get them are valid gpio's but are already assigned
to do other function. To avoid those kind of problems
in those platforms just notice the fail in the kernel
but continue doing normal boot.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200319161416.19033-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c