mirror of https://gitee.com/openkylin/linux.git
drm/bridge: tc358767: remove unnecessary msleep
For some reason the driver has a msleep(100) after writing to DP_PHY_CTRL. Toshiba's documentation doesn't suggest any delay is needed, and I have not seen any issues with the sleep removed. Drop it, as msleep(100) is a rather big one. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190528082747.3631-14-tomi.valkeinen@ti.com
This commit is contained in:
parent
67bca92fa8
commit
31b4c8848a
|
@ -874,7 +874,6 @@ static int tc_main_link_enable(struct tc_data *tc)
|
|||
if (tc->link.base.num_lanes == 2)
|
||||
dp_phy_ctrl |= PHY_2LANE;
|
||||
tc_write(DP_PHY_CTRL, dp_phy_ctrl);
|
||||
msleep(100);
|
||||
|
||||
/* PLL setup */
|
||||
tc_write(DP0_PLLCTRL, PLLUPDATE | PLLEN);
|
||||
|
|
Loading…
Reference in New Issue