From: Kaustabh Chakraborty Date: Sun, 6 Jul 2025 18:25:43 +0000 (+0530) Subject: drm/bridge: samsung-dsim: increase timeout value for PLL_STABLE X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7ef93667ab19370a2a05b8dbcad36d76b887ff38;p=users%2Fhch%2Fmisc.git drm/bridge: samsung-dsim: increase timeout value for PLL_STABLE Exynos7870's DSIM requires more time to stabilize its PLL. The current timeout value, 1000, doesn't suffice. Increase the value to 3000, which is just about enough as observed experimentally. Signed-off-by: Kaustabh Chakraborty Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index 456d961abc05..2e422f3ec103 100644 --- a/drivers/gpu/drm/bridge/samsung-dsim.c +++ b/drivers/gpu/drm/bridge/samsung-dsim.c @@ -755,7 +755,7 @@ static unsigned long samsung_dsim_set_pll(struct samsung_dsim *dsi, samsung_dsim_write(dsi, DSIM_PLLCTRL_REG, reg); - timeout = 1000; + timeout = 3000; do { if (timeout-- == 0) { dev_err(dsi->dev, "PLL failed to stabilize\n");