From a4ad5575ce195d2a49a302e823cd42aa5c4133d5 Mon Sep 17 00:00:00 2001 From: Svyatoslav Ryhel Date: Sun, 15 Feb 2026 10:51:38 +0200 Subject: [PATCH] drm/panel: r61307/r69328: return accumulated errors Return accumulated errors from dsi function calls. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Neil Armstrong Signed-off-by: Neil Armstrong Link: https://patch.msgid.link/20260215085140.20499-5-clamor95@gmail.com --- drivers/gpu/drm/panel/panel-renesas-r61307.c | 4 ++-- drivers/gpu/drm/panel/panel-renesas-r69328.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-renesas-r61307.c b/drivers/gpu/drm/panel/panel-renesas-r61307.c index 2cc3bd66d6d4..70bda074dd0d 100644 --- a/drivers/gpu/drm/panel/panel-renesas-r61307.c +++ b/drivers/gpu/drm/panel/panel-renesas-r61307.c @@ -150,7 +150,7 @@ static int renesas_r61307_enable(struct drm_panel *panel) mipi_dsi_dcs_set_display_on_multi(&ctx); mipi_dsi_msleep(&ctx, 50); - return 0; + return ctx.accum_err; } static int renesas_r61307_disable(struct drm_panel *panel) @@ -162,7 +162,7 @@ static int renesas_r61307_disable(struct drm_panel *panel) mipi_dsi_msleep(&ctx, 100); mipi_dsi_dcs_enter_sleep_mode_multi(&ctx); - return 0; + return ctx.accum_err; } static int renesas_r61307_unprepare(struct drm_panel *panel) diff --git a/drivers/gpu/drm/panel/panel-renesas-r69328.c b/drivers/gpu/drm/panel/panel-renesas-r69328.c index b5fe127634ae..0ed143f77e50 100644 --- a/drivers/gpu/drm/panel/panel-renesas-r69328.c +++ b/drivers/gpu/drm/panel/panel-renesas-r69328.c @@ -117,7 +117,7 @@ static int renesas_r69328_enable(struct drm_panel *panel) mipi_dsi_dcs_set_display_on_multi(&ctx); mipi_dsi_msleep(&ctx, 50); - return 0; + return ctx.accum_err; } static int renesas_r69328_disable(struct drm_panel *panel) @@ -129,7 +129,7 @@ static int renesas_r69328_disable(struct drm_panel *panel) mipi_dsi_msleep(&ctx, 60); mipi_dsi_dcs_enter_sleep_mode_multi(&ctx); - return 0; + return ctx.accum_err; } static int renesas_r69328_unprepare(struct drm_panel *panel)