drm/rockchip: dsi: do turnaround request manually is only required for rk3288 dsi1

Test on RK3399

Fixes: f324dff252 ("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>
This commit is contained in:
Wyon Bi
2019-06-19 08:58:20 +08:00
committed by Tao Huang
parent 892eacb3b5
commit 3060dc302c

View File

@@ -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 */