diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c index 94b221b5b6148..03c79f0fcd5fa 100644 --- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c +++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c @@ -281,7 +281,10 @@ static int rk_pcie_link_up(struct dw_pcie *pci) val = rk_pcie_readl_apb(rk_pcie, PCIE_CLIENT_LTSSM_STATUS); if ((val & (RDLH_LINKUP | SMLH_LINKUP)) == 0x30000) + { + dev_info(pci->dev, "%s: val & (RDLH_LINKUP | SMLH_LINKUP) is 0x%lx, val & GENMASK(5, 0) is 0x%lx, going to return 1\n", __func__, (val & (RDLH_LINKUP | SMLH_LINKUP)), (val & GENMASK(5, 0))); return 1; + } return 0; }