drm/msm/dsi: do not enable PHYs when called for the slave DSI interface
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 9 Jun 2021 21:12:11 +0000 (00:12 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:33:55 +0000 (07:33 -0700)
commita14440042fe8dac6b7c507a946f46a6f50c9c05d
treea3ddc422283c337c09bb91394beb2049a40928bf
parent5434941fd45d30dadc7e9e1227cf109bb3796d22
drm/msm/dsi: do not enable PHYs when called for the slave DSI interface

Move the call to dsi_mgr_phy_enable after checking whether the DSI
interface is slave, so that PHY enablement happens together with the
host enablement.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210609211211.2561090-1-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dsi/dsi_manager.c