]> 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 15:17:46 +0000 (11:17 -0400)
commitdf85e9576c18e868c7d42c224a0967cd31f489c0
tree180f777507a3b243bc9b4e9def59ae8726f29f28
parenta5fc58734fbc8b6f61b7716df3367d4607c168c4
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