From: Andreas Kemnade <andreas@kemnade.info>
To: junjie.cao@linux.dev, lukapanio@gmail.com, lee@kernel.org,
danielt@kernel.org, jingoohan1@gmail.com, deller@gmx.de,
mitltlatltl@gmail.com, dri-devel@lists.freedesktop.org,
linux-fbdev@vger.kernel.org
Cc: Andreas Kemnade <andreas@kemnade.info>
Subject: [PATCH] backlight: aw99706: Fix initial backlight state
Date: Sat, 5 Dec 2026 13:57:34 +0100 [thread overview]
Message-ID: <20261205125734.97403-1-andreas@kemnade.info> (raw)
Backlight does not set its default state initially, So it suddenly gets
turned on after suspend but stays initially disabled.
As the backlight is generally not unregistered after i2c errors whilst
updating status, do not return an error here, either. As with other i2c
errors during backlight status update, there might be a state
inconsistency.
Fixes: 147b38a5ad068 ("backlight: aw99706: Add support for Awinic AW99706 backlight")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
drivers/video/backlight/aw99706.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/video/backlight/aw99706.c b/drivers/video/backlight/aw99706.c
index f898df0d4ed15..9ef9ee47a4df5 100644
--- a/drivers/video/backlight/aw99706.c
+++ b/drivers/video/backlight/aw99706.c
@@ -654,6 +654,8 @@ static int aw99706_probe(struct i2c_client *client)
aw->bl_dev = bl_dev;
+ backlight_update_status(bl_dev);
+
return 0;
err_power_off:
--
2.47.3
reply other threads:[~2026-12-05 12:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205125734.97403-1-andreas@kemnade.info \
--to=andreas@kemnade.info \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=junjie.cao@linux.dev \
--cc=lee@kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=lukapanio@gmail.com \
--cc=mitltlatltl@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox