From 996e337caf9f0b92d524fedc80dd0d17951720ba Mon Sep 17 00:00:00 2001 From: Wyon Bi Date: Wed, 31 Aug 2022 01:00:19 +0000 Subject: [PATCH] phy/rockchip: samsung-hdptx: Increase the phy_rdy timeout to 5ms We got issue as follows: [ 27.276379] rockchip-hdptx-phy fed60000.phy: timeout waiting for phy_rdy [ 27.276502] rockchip-hdptx-phy fed60000.phy: failed to set lanes: -110 [ 27.276537] rockchip-dp fdec0000.edp: analogix_dp_set_lane_count: phy_configure() failed: -110 Signed-off-by: Wyon Bi Change-Id: I872e721ba70c3dcec290b4dbd4263eba40abd359 --- drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c index a3c9619b7cc6..8a7d76511d05 100644 --- a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c +++ b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c @@ -638,7 +638,7 @@ static int rockchip_hdptx_phy_set_lanes(struct rockchip_hdptx_phy *hdptx, ret = regmap_read_poll_timeout(hdptx->grf, HDPTXPHY_GRF_STATUS0, status, FIELD_GET(PHY_RDY, status), - 50, 1000); + 50, 5000); if (ret) { dev_err(hdptx->dev, "timeout waiting for phy_rdy\n"); return ret;