Merge "disp: msm: dsi: Correct typo in qcom,bl-dsc-cmd-state property name"

This commit is contained in:
qctecmdr
2022-12-23 02:01:45 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -2556,13 +2556,13 @@ static int dsi_panel_parse_bl_config(struct dsi_panel *panel)
panel->bl_config.bl_inverted_dbv = utils->read_bool(utils->data,
"qcom,mdss-dsi-bl-inverted-dbv");
state = utils->get_property(utils->data, "qcom,bl-dsc-cmd-state", NULL);
state = utils->get_property(utils->data, "qcom,bl-dcs-cmd-state", NULL);
if (!state || !strcmp(state, "dsi_hs_mode"))
panel->bl_config.lp_mode = false;
else if (!strcmp(state, "dsi_lp_mode"))
panel->bl_config.lp_mode = true;
else
DSI_ERR("bl-dsc-cmd-state command state unrecognized-%s\n",
DSI_ERR("bl-dcs-cmd-state command state unrecognized-%s\n",
state);
if (panel->bl_config.type == DSI_BACKLIGHT_PWM) {