msm: mdss: do not fail probe if backlight control not defined
Panels like AMOLED and dsi2hdmi bridge chip does not need backlight control specified by DSI host. So no need to fail dsi probe if backlight control is not defined. Change-Id: I6e192b2e354d6e9146fb0890d2918feab9c7a2ed Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
This commit is contained in:
parent
a0afc41b07
commit
c7f50b18a3
1 changed files with 6 additions and 2 deletions
|
@ -2559,8 +2559,12 @@ static int mdss_dsi_ctrl_probe(struct platform_device *pdev)
|
|||
(ctrl_pdata->panel_data.panel_info.pdest == DISPLAY_1))) {
|
||||
rc = mdss_panel_parse_bl_settings(dsi_pan_node, ctrl_pdata);
|
||||
if (rc) {
|
||||
pr_err("%s: dsi bl settings parse failed\n", __func__);
|
||||
goto error_pan_node;
|
||||
pr_warn("%s: dsi bl settings parse failed\n", __func__);
|
||||
/* Panels like AMOLED and dsi2hdmi chip
|
||||
* does not need backlight control.
|
||||
* So we should not fail probe here.
|
||||
*/
|
||||
ctrl_pdata->bklt_ctrl = UNKNOWN_CTRL;
|
||||
}
|
||||
} else {
|
||||
ctrl_pdata->bklt_ctrl = UNKNOWN_CTRL;
|
||||
|
|
Loading…
Add table
Reference in a new issue