Merge "disp: msm: dsi: add return code to probe deferral error logs"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
25062d1965
@@ -1991,7 +1991,8 @@ struct dsi_ctrl *dsi_ctrl_get(struct device_node *of_node)
|
||||
mutex_unlock(&dsi_ctrl_list_lock);
|
||||
|
||||
if (!ctrl) {
|
||||
DSI_CTRL_ERR(ctrl, "Device with of node not found\n");
|
||||
DSI_CTRL_ERR(ctrl, "Device with of node not found rc=%d\n",
|
||||
-EPROBE_DEFER);
|
||||
ctrl = ERR_PTR(-EPROBE_DEFER);
|
||||
return ctrl;
|
||||
}
|
||||
|
@@ -481,7 +481,8 @@ static int dsi_panel_wled_register(struct dsi_panel *panel,
|
||||
|
||||
bd = backlight_device_get_by_type(BACKLIGHT_RAW);
|
||||
if (!bd) {
|
||||
DSI_ERR("[%s] fail raw backlight register\n", panel->name);
|
||||
DSI_ERR("[%s] fail raw backlight register rc=%d\n",
|
||||
panel->name, -EPROBE_DEFER);
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
|
||||
|
@@ -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