Thread (3 messages) 3 messages, 3 authors, 2026-04-30
STALE150d

[PATCH] backlight: ktd2801: enable BL_CORE_SUSPENDRESUME

From: Duje Mihanović <hidden>
Date: 2026-03-28 20:43:23
Also in: dri-devel, lkml, phone-devel, stable
Subsystem: backlight class/subsystem, framebuffer layer, ktd2801 backlight driver, the rest · Maintainers: Lee Jones, Daniel Thompson, Jingoo Han, Helge Deller, Duje Mihanović, Linus Torvalds

From: Duje Mihanović <duje@dujemihanovic.xyz>

Boards using this backlight chip do not power the backlight off on
suspend. Enable BL_CORE_SUSPENDRESUME so the chip gets powered off by
the backlight core on suspend.

Tested on samsung,coreprimevelte.

Cc: stable@vger.kernel.org # v6.19
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
 drivers/video/backlight/ktd2801-backlight.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/video/backlight/ktd2801-backlight.c b/drivers/video/backlight/ktd2801-backlight.c
index 17eac1b3bce4..1b1307e03b20 100644
--- a/drivers/video/backlight/ktd2801-backlight.c
+++ b/drivers/video/backlight/ktd2801-backlight.c
@@ -53,6 +53,7 @@ static int ktd2801_update_status(struct backlight_device *bd)
 }
 
 static const struct backlight_ops ktd2801_backlight_ops = {
+	.options = BL_CORE_SUSPENDRESUME,
 	.update_status = ktd2801_update_status,
 };
 
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260314-ktd2801-pm-fix-17e8715f8c37

Best regards,
--  
Duje Mihanović [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help