]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: pcie_dw_meson: fix usb fail when pci link fails to go up
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 8 Sep 2021 12:32:12 +0000 (14:32 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 7 Oct 2021 08:14:50 +0000 (10:14 +0200)
commitd6c10360dcb4c64ba0877f07bd860dc70db86ee8
tree9543bf6404b50e04250a5770c66948f785da560e
parentea36f110f72bc7557ff8935799f35a48f5c928d0
pci: pcie_dw_meson: fix usb fail when pci link fails to go up

On Amlogic A311D, when the PCIe link fails disabling the related clocks
makes USB fail. For an unknown reason, this doesn happen on the S905D3 SoC.

Mimic the Linux behavior by not considering a link failure a probe failure,
and continue even if the PCIe link is down.

Reported-by: Art Nikpal <email2tema@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pcie_dw_meson.c