]> 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)
commitb8adcb4fe8d4e9cea805639ccd26c7bead48fce3
tree32d518d8634b212a48e96df034a7bcfe072ab0fc
parent39d028042d2a8ab9d8e1dcb79314161edcc71113
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