Fixing DSI phy setting of HS trail timings.

Signed-off-by: David Ung <[email protected]>
---
 drivers/gpu/drm/tegra/mipi-phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tegra/mipi-phy.c b/drivers/gpu/drm/tegra/mipi-phy.c
index 486d19d..974bc68 100644
--- a/drivers/gpu/drm/tegra/mipi-phy.c
+++ b/drivers/gpu/drm/tegra/mipi-phy.c
@@ -34,7 +34,7 @@ int mipi_dphy_timing_get_default(struct mipi_dphy_timing 
*timing,
        timing->hszero = 145 + 5 * period;
        timing->hssettle = 85 + 6 * period;
        timing->hsskip = 40;
-       timing->hstrail = max(8 * period, 60 + 4 * period);
+       timing->hstrail = 3 * period * 8 + max(8 * period, 60 + 4 * period);
        timing->init = 100000;
        timing->lpx = 60;
        timing->taget = 5 * timing->lpx;
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to