* [PATCH] backlight: aw99706: Fix initial backlight state
@ 2026-12-05 12:57 Andreas Kemnade
0 siblings, 0 replies; only message in thread
From: Andreas Kemnade @ 2026-12-05 12:57 UTC (permalink / raw)
To: junjie.cao, lukapanio, lee, danielt, jingoohan1, deller,
mitltlatltl, dri-devel, linux-fbdev
Cc: Andreas Kemnade
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-05 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 12:57 [PATCH] backlight: aw99706: Fix initial backlight state Andreas Kemnade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox