From 3c55330aac69150a1a4ff20684b41e7f66ad5fe9 Mon Sep 17 00:00:00 2001 From: Caio Ishikawa Date: Sat, 24 Jan 2026 12:51:13 +0000 Subject: [PATCH] drm/panel: boe-th101mb31ig002: Remove use of deprecated mipi_dsi_dcs_nop() Replace calls to deprecated mipi_dsi_dcs_nop() with mipi_dsi_dcs_nop_multi(). No intended functional changes. Signed-off-by: Caio Ishikawa Reviewed-by: Douglas Anderson Signed-off-by: Douglas Anderson Link: https://patch.msgid.link/20260124124959.196051-3-caio.ishikawa@proton.me --- drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c b/drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c index f33d4f8559294..01b4458e55ad9 100644 --- a/drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c +++ b/drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c @@ -221,6 +221,7 @@ static int boe_th101mb31ig002_prepare(struct drm_panel *panel) struct boe_th101mb31ig002, panel); struct device *dev = &ctx->dsi->dev; + struct mipi_dsi_multi_context dsi_ctx = { .dsi = ctx->dsi }; int ret; ret = regulator_enable(ctx->power); @@ -233,9 +234,9 @@ static int boe_th101mb31ig002_prepare(struct drm_panel *panel) msleep(ctx->desc->vcioo_to_lp11_delay_ms); if (ctx->desc->lp11_before_reset) { - ret = mipi_dsi_dcs_nop(ctx->dsi); - if (ret) - return ret; + mipi_dsi_dcs_nop_multi(&dsi_ctx); + if (dsi_ctx.accum_err) + return dsi_ctx.accum_err; } if (ctx->desc->lp11_to_reset_delay_ms) -- 2.53.0