]> git.baikalelectronics.ru Git - uboot.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)
commitcb9739889b9278379fb042ab2a269247c6b881c7
tree40bd0ac05ee6cb2f43786d042cc8621b97f1d7ed
parent6c6e21175eb4f6e78a2bfab0f9013cba49797ff5
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