disp: msm: dsi: only check clock lane ulps status for DPHY

Clock lane can enter ino ULPS mode only in DPHY mode. For
CPHY, did not need to check the clock lane status for ULPS.

Change-Id: Iceddd8064ec75ce26613469cfb1bde36e883f865
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:
Yuan Zhao
2021-06-24 14:55:37 +08:00
vanhempi 1074406893
commit ffd7e1d4b1
4 muutettua tiedostoa jossa 21 lisäystä ja 18 poistoa

Näytä tiedosto

@@ -812,6 +812,16 @@ static inline u64 dsi_h_total_dce(struct dsi_mode_info *mode)
return h_total;
}
/*
* dsi_is_type_cphy - check if panel type is cphy
* @cfg: Pointer to dsi host common cfg
* Returns: True if panel type is cphy
*/
static inline bool dsi_is_type_cphy(struct dsi_host_common_cfg *cfg)
{
return (cfg->phy_type == DSI_PHY_TYPE_CPHY) ? true : false;
}
/**
* dsi_host_transfer_sub() - transfers DSI commands from host to panel
* @host: pointer to the DSI mipi host device