summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyon Bi <bivvy.bi@rock-chips.com>2019-06-19 08:58:20 +0800
committerTao Huang <huangtao@rock-chips.com>2019-06-20 14:50:17 +0800
commit3060dc302c00a59d74975a6dbb24bfb68ba4c3ec (patch)
tree4cd6076a7670b8db257c3f8000dac2fd33024b07
parent892eacb3b5de2d1b96634ddb3d88fb865b0d9922 (diff)
drm/rockchip: dsi: do turnaround request manually is only required for rk3288 dsi1
Test on RK3399 Fixes: f324dff25289 ("drm/rockchip: dsi: Send turnaround request after a read request for dsi1") Change-Id: Id1fad1e8c7c742291bdbd77082dd872093ad549e Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
-rw-r--r--drivers/gpu/drm/rockchip/dw-mipi-dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
index 4b5a685355c6..2d1db3983d40 100644
--- a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
+++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
@@ -605,7 +605,7 @@ static int dw_mipi_dsi_turn_around_request(struct dw_mipi_dsi *dsi)
* assign dphy_tx1_phyturnrequest = grf_dphy_tx1rx1_basedir ?
* dphy_tx1_phyturnrequest_i : grf_dphy_tx1rx1_turnrequest[0]
*/
- if (!IS_DSI1(dsi))
+ if (!IS_DSI1(dsi) || dsi->pdata->soc_type != RK3288)
return 0;
/* Set TURNREQUEST_N = 1'b1 */