| Message ID | 20241024105050.3483542-1-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBEGN5C4AMGQEKULYQ7A@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com
[209.85.208.71])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2E5A03F9F7
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 24 Oct 2024 12:50:57 +0200 (CEST)
Received: by mail-ed1-f71.google.com with SMTP id
4fb4d7f45d1cf-5c92ad674aesf476932a12.3
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 24 Oct 2024 03:50:57 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1729767057; cv=pass;
d=google.com; s=arc-20240605;
b=LMZD9vPajBuCRH4TGe/QZmdPjK2RYc0hLjyP2ynMdW4tLX4JJvDgpSFrpVCp7pEmnc
A2iZ7HZitL7DginWH6NAwjO7EpVnSDF9mvkG9mkdw1ucMpbHJjpG/zJEjBKGTOsgvbeZ
oiilW4m9lLDs5qZ25cso+FRo0lSVU3DWYQjMlpw6V85AsFxin2HTqe9icp0bzbM5yzw3
BRitGGIipMVZ/AppSSDWR+rFbzz+ucNxC7f5HF6kzpnVfc1yJuwqbhYwaX+WSoC+/uyj
Wh8bIKOs09v5KMs4JgHOMj2qxauOsH61sCZWsOjVhCvnsxEFJ5cQJZkd2hobZWVMpIiP
OUOQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:message-id:date:subject:cc:to
:from:dkim-signature;
bh=2RSJ4MBBvYTSex3MEQ07I0xzrV1wD4VOGGU2LN2Vyqs=;
fh=IyIsgReGoDU5GrX+ufgIK3OvWnBPedB5mzAGZwoiSeU=;
b=WaZX4V0BZDTX4Al6Cmy3IcIOxIyK8bJn1ubrmLYITlqbFU0S7CICSiE/I0XHWPDj9d
qUSJB870fDALGkb6HV3AIKI7SC6js2XPwYGIWYv0oU5OyyatcQuqwJjiNEqQx2LkBQzL
nhIrqKYzIc1eStpWrW6turXnIOnJDVtPZnitRfUsxuulEG16tmXA5Hn1FTXDnHiB/3E+
Uu5QnMWDcCp6ZgpxaVqWoqombuS/GeBNgePjjUO4WL1/pWPQoAogyq76CGdnN76YoOhu
oGH+tds0GWwtCbl5GUcMsKhPxLF8YBal2XnGqTUAgw1ZJphGImQOH7JSjhykdX/9VmnB
0jxA==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=UeOF3A3Y;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1729767057; x=1730371857;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:message-id:date:subject:cc:to:from
:from:to:cc:subject:date:message-id:reply-to;
bh=2RSJ4MBBvYTSex3MEQ07I0xzrV1wD4VOGGU2LN2Vyqs=;
b=OPaoLN+YO36ytrw0bRP2Ok0OGPq6O6rwUan1OKmwI6f202u7+7no/avGqf/s/NVfpB
ambyV/aS0qtOGrjh0PV9XC2R5M0MQhB8DqUzbyQqJDYe/eO0gij5h/xEWY9GNZIPkahg
lpDusPSsVoaW7HrkCtSacIHmQcar6e13hiT84=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1729767057; x=1730371857;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=2RSJ4MBBvYTSex3MEQ07I0xzrV1wD4VOGGU2LN2Vyqs=;
b=dm80ELQHvS6OG2rgoFclshU8pSMz9YFZ2AYIsdM+gxTX5Od8gKrFyDWYqf6Gs8HuZJ
0Wp9eB35VyiPh4KyB+Rof/3kLlifE7MoezWa8umaMINCFZRWHcLQQWRHJRsbFCUifbGO
vltWZwvYDXWh6ATqi5pmOyiu9vVhj2aj1zZ4dTL14p/vgThZellmCn42PkxEtDAUOtBC
XPUalPsYbvYrVwuk0HRiPFNCBD8kEH1/oATTI7XJFE7j40yMc477Mx8fnDdB6FsDsGoY
tdYS4OGbU+/cMn8eX85mPfUcF412ruLRENPXruJrcyrT+YFJlJ/bgwsOSEtzF5PmpNI4
Sj/g==
X-Forwarded-Encrypted: i=2;
AJvYcCVl/VvX+irZPqze0tfcfIGiuL3cXau/Y8lf9MzDT5LsPd8TTLy6rGc6ffqCzUUDK2/XYNzw5/TmHnPQge/O@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0Ywa7KE87nlB+jj4LBRajyvieSGFOg2mZ3ZRybkXGPY1rD0a8OuD
8OqYV0Kxtn8h5WPsMHg3CFN+AMbIDBRos4X7ieLjTVRsMOYyS6uYCrP/h5+Y0ZHz0g==
X-Google-Smtp-Source:
AGHT+IFekHpV8d6yaeZ68PlBh9hXEPp+7jHh/TJ2kSf4WkpW3uzCjpaoRNBwnHwVpOB/d1H/erPE0A==
X-Received: by 2002:a05:6402:2745:b0:5cb:6841:ec8a with SMTP id
4fb4d7f45d1cf-5cb8acee2a1mr5745629a12.19.1729767056565;
Thu, 24 Oct 2024 03:50:56 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com
Received: by 2002:a05:6402:524d:b0:5cb:73a6:e040 with SMTP id
4fb4d7f45d1cf-5cb9987a676ls26767a12.0.-pod-prod-03-eu; Thu, 24 Oct 2024
03:50:55 -0700 (PDT)
X-Received: by 2002:a17:906:dc91:b0:a9a:61d:7084 with SMTP id
a640c23a62f3a-a9abf92f484mr559353466b.50.1729767054734;
Thu, 24 Oct 2024 03:50:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1729767054; cv=none;
d=google.com; s=arc-20240605;
b=bbkGzQoJl7Dp/wp+HpxpnNr+mqEbopvfjE67uSIIL5GavbQDdS8OktVPoVXw7EN0Xl
MLgYJPslS85Xj0KWc7axlwXW49x8g2xyswnwv/cxX3O7Kl61DhgukLW9OjIw07CCLH0k
dinuFXQzs5S+3AmiAicnAfN7yBXNKz4qqjnHenH8ZTMbQYjh5puYMYH5geCPJJZDyd79
NR/E3imxjVq6j7aC+AObjP4qZt+KizJN8NPADw+jcvlyni1j+O3x54Sfbvh2nJbKONY+
7M0mpZ9BC91pG3LH16VdT34K7I7y5IQvfUODQRXZrcOtdgNqfEyMwWbZX5CUd999DOal
IRyQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=6qWdmaHz7Nux7p/WW92k3YpnxPIwDsMgrq5DymSLCxY=;
fh=1/Dcnd0fv1tfoRj1o2IblIMAm13wmdi4CcRE+9E8dO4=;
b=VxYcKlLe/rBzXhYk+IOeb7aJd+ALAUyCa1jv2wJ/Yqgi3bZ8kktrwCuo6QM/BJ69mg
Am1rN5aLcxJKHQupfbeXPQKQpvSCOahn7Czco8P1SblIEYDcPAPfPcS+xyRClHJtSLje
a+JZB6nPgQovJnM098VNx5kyInXwB4WVr2sAFTb7P3i8Byk6rPJVeKHxUy6PZaNFXOG5
1/iuJFOedj0TdXOLlcKRKxC6oji8WTBhTpY23J2yDoBGi0JejHFcNrSCGQVReBgBB5WB
OBhsxUC9LzSGkYg2zCrQLcNAggR1hMqOtnXXPr2Lkk/XcmLChTOjvrMW8KaF4hGRBKiB
2xCg==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=UeOF3A3Y;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
a640c23a62f3a-a9a9126df72sor333558466b.3.2024.10.24.03.50.54
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Thu, 24 Oct 2024 03:50:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a17:907:3faa:b0:a9a:f0e:cd4 with SMTP id
a640c23a62f3a-a9abf964edemr607896766b.55.1729767054232;
Thu, 24 Oct 2024 03:50:54 -0700 (PDT)
Received: from localhost.localdomain
([2001:b07:6474:ebbf:f79d:49dd:b804:3f48])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-a9a91370723sm601132366b.100.2024.10.24.03.50.52
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 24 Oct 2024 03:50:53 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: linux-amarula@amarulasolutions.com,
Michael Trimarchi <michael@amarulasolutions.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
David Airlie <airlied@gmail.com>,
Jessica Zhang <quic_jesszhan@quicinc.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Simona Vetter <simona@ffwll.ch>,
Thomas Zimmermann <tzimmermann@suse.de>,
dri-devel@lists.freedesktop.org
Subject: [PATCH] drm/panel: synaptics-r63353: Fix regulator unbalance
Date: Thu, 24 Oct 2024 12:50:46 +0200
Message-ID: <20241024105050.3483542-1-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=UeOF3A3Y;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
drm/panel: synaptics-r63353: Fix regulator unbalance
|
|
Commit Message
Dario Binacchi
Oct. 24, 2024, 10:50 a.m. UTC
From: Michael Trimarchi <michael@amarulasolutions.com> The shutdown function can be called when the display is already unprepared. For example during reboot this trigger a kernel backlog. Calling the drm_panel_unprepare, allow us to avoid to trigger the kernel warning. Tested-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- drivers/gpu/drm/panel/panel-synaptics-r63353.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 24/10/2024 12:50, Dario Binacchi wrote: > From: Michael Trimarchi <michael@amarulasolutions.com> > > The shutdown function can be called when the display is already > unprepared. For example during reboot this trigger a kernel > backlog. Calling the drm_panel_unprepare, allow us to avoid > to trigger the kernel warning. > > Tested-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Could you add a Fixed tag ? > > --- > > drivers/gpu/drm/panel/panel-synaptics-r63353.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c > index 169c629746c7..17349825543f 100644 > --- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c > +++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c > @@ -325,7 +325,7 @@ static void r63353_panel_shutdown(struct mipi_dsi_device *dsi) > { > struct r63353_panel *rpanel = mipi_dsi_get_drvdata(dsi); > > - r63353_panel_unprepare(&rpanel->base); > + drm_panel_unprepare(&rpanel->base); > } > > static const struct r63353_desc sharp_ls068b3sx02_data = { With that: Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c index 169c629746c7..17349825543f 100644 --- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c +++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c @@ -325,7 +325,7 @@ static void r63353_panel_shutdown(struct mipi_dsi_device *dsi) { struct r63353_panel *rpanel = mipi_dsi_get_drvdata(dsi); - r63353_panel_unprepare(&rpanel->base); + drm_panel_unprepare(&rpanel->base); } static const struct r63353_desc sharp_ls068b3sx02_data = {