mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
phy: rockchip-snps-pcie3: increase sram init timeout
It's reported that one of RK3568 boards could be timeout when doing s2r test. Increasing the timeout value solves the problem. At this time, reuse RK_PCIE_SRAM_INIT_TIMEOUT instead. Change-Id: I9a935104cf3cf6058d69181c4604749692292ff9 Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
@@ -119,7 +119,7 @@ static int rockchip_p3phy_rk3568_init(struct rockchip_p3phy_priv *priv)
|
||||
ret = regmap_read_poll_timeout(priv->phy_grf,
|
||||
GRF_PCIE30PHY_STATUS0,
|
||||
reg, SRAM_INIT_DONE(reg),
|
||||
0, 500);
|
||||
0, RK_PCIE_SRAM_INIT_TIMEOUT);
|
||||
if (ret) {
|
||||
dev_err(&priv->phy->dev, "%s: lock failed 0x%x, check input refclk and power supply\n",
|
||||
__func__, reg);
|
||||
|
||||
Reference in New Issue
Block a user