[PATCH v4 5/6] staging: mt7621-pci: release gpios after pci initialization

Chuanhong Guo gch981213 at gmail.com
Fri Mar 20 14:59:01 UTC 2020


Hi!

On Sat, Mar 14, 2020 at 4:10 AM Sergio Paracuellos
<sergio.paracuellos at gmail.com> wrote:
>
> R3G's LEDs fail to initialize because one of them uses GPIO8

A gpio can't be used as pcie reset and led simultaneously.

> Hence, release the GPIO resources after PCIe initialization
> and properly release also in driver error path.

This pin conflict comes from incorrectly occupying pins that are not
used by pcie,
and should be fixed by not occupying those pins in the first place.
Releasing all
gpios isn't the proper way to go.

-- 
Regards,
Chuanhong Guo


More information about the devel mailing list