Release develop 251225

This commit is contained in:
hongyi
2025-12-25 15:40:45 +08:00
parent 876ebfd3c5
commit e31acb1b2d
19 changed files with 574 additions and 475 deletions

View File

@@ -926,7 +926,7 @@ static int lt8911_dsi_probe(struct mipi_dsi_device *dsi)
ctx->desc = &lt8911_panel_data;
ret = lt8911_parse_dt(ctx);
if (ret) {
DBG_FUNC("%s: failed to parse device tree\n", __func__);
dev_err(&dsi->dev, "%s: failed to parse device tree\n", __func__);
return ret;
}
@@ -939,9 +939,7 @@ static int lt8911_dsi_probe(struct mipi_dsi_device *dsi)
//ctx->panel_data->set_dsi(ctx->dsi);
drm_panel_init(&ctx->panel, &dsi->dev, &panel_funcs, DRM_MODE_CONNECTOR_DSI);
ret = drm_panel_of_backlight(&ctx->panel);
if (ret)
return ret;
drm_panel_of_backlight(&ctx->panel);
drm_panel_add(&ctx->panel);
@@ -952,11 +950,10 @@ static int lt8911_dsi_probe(struct mipi_dsi_device *dsi)
ret = register_pm_notifier(&ctx->pm_notify);
if (ret)
DBG_FUNC("register_pm_notifier failed: %d\n", ret);
dev_err(&dsi->dev, "register_pm_notifier failed: %d\n", ret);
ret = mipi_dsi_attach(dsi);
if (ret < 0)
{
if (ret < 0) {
drm_panel_remove(&ctx->panel);
}