]> git.dujemihanovic.xyz Git - u-boot.git/commit
PCI: mediatek: Release the resource when PCIe enable port fail
authorChuanjia Liu <Chuanjia.Liu@mediatek.com>
Mon, 31 Aug 2020 07:53:12 +0000 (15:53 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 10 Sep 2020 19:32:09 +0000 (15:32 -0400)
commit9250d0bad5637233a24a0c4b583100ad1be63316
tree40bd0ac05ee6cb2f43786d042cc8621b97f1d7ed
parent3dd52dd69e6507624c7bb98aa1dbd5034221afcd
PCI: mediatek: Release the resource when PCIe enable port fail

On the mt7623 platform, if one port enable fail and other port
enable succeed. It will hang on when using pci enum
because the resource was not released correctly.

Signed-off-by: Chuanjia Liu <Chuanjia.Liu@mediatek.com>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
drivers/pci/pcie_mediatek.c