]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: release gpios after pci initialization
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 13 Mar 2020 20:09:12 +0000 (21:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 11:53:07 +0000 (12:53 +0100)
commitd08e04fa7566c2fc0e787120b1627f16e56b5813
tree32d518d8634b212a48e96df034a7bcfe072ab0fc
parentba6c446897443f5b77e9be6295abcf9e79497e73
staging: mt7621-pci: release gpios after pci initialization

R3G's LEDs fail to initialize because one of them uses GPIO8
Hence, release the GPIO resources after PCIe initialization
and properly release also in driver error path.

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