disp: msm: dsi: add return code to probe deferral error logs
This change adds return code -EPROBE_DEFER to DSI error logs during a probe deferral. Change-Id: I59971ebc319e90d65f64e73149e34ba691441741 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -571,7 +571,8 @@ struct msm_dsi_phy *dsi_phy_get(struct device_node *of_node)
|
||||
mutex_unlock(&dsi_phy_list_lock);
|
||||
|
||||
if (!phy) {
|
||||
DSI_PHY_ERR(phy, "Device with of node not found\n");
|
||||
DSI_PHY_ERR(phy, "Device with of node not found rc=%d\n",
|
||||
-EPROBE_DEFER);
|
||||
phy = ERR_PTR(-EPROBE_DEFER);
|
||||
return phy;
|
||||
}
|
||||
|
Reference in New Issue
Block a user