|
@@ -3436,6 +3436,7 @@ static void dsi_panel_setup_vm_ops(struct dsi_panel *panel, bool trusted_vm_env)
|
|
|
panel->panel_ops.bl_register = dsi_panel_vm_stub;
|
|
|
panel->panel_ops.bl_unregister = dsi_panel_vm_stub;
|
|
|
panel->panel_ops.parse_gpios = dsi_panel_vm_stub;
|
|
|
+ panel->panel_ops.parse_power_cfg = dsi_panel_vm_stub;
|
|
|
} else {
|
|
|
panel->panel_ops.pinctrl_init = dsi_panel_pinctrl_init;
|
|
|
panel->panel_ops.gpio_request = dsi_panel_gpio_request;
|
|
@@ -3444,6 +3445,7 @@ static void dsi_panel_setup_vm_ops(struct dsi_panel *panel, bool trusted_vm_env)
|
|
|
panel->panel_ops.bl_register = dsi_panel_bl_register;
|
|
|
panel->panel_ops.bl_unregister = dsi_panel_bl_unregister;
|
|
|
panel->panel_ops.parse_gpios = dsi_panel_parse_gpios;
|
|
|
+ panel->panel_ops.parse_power_cfg = dsi_panel_parse_power_cfg;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -3530,7 +3532,7 @@ struct dsi_panel *dsi_panel_get(struct device *parent,
|
|
|
goto error;
|
|
|
}
|
|
|
|
|
|
- rc = dsi_panel_parse_power_cfg(panel);
|
|
|
+ rc = panel->panel_ops.parse_power_cfg(panel);
|
|
|
if (rc)
|
|
|
DSI_ERR("failed to parse power config, rc=%d\n", rc);
|
|
|
|