mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
backlight: ktd2801: Enable BL_CORE_SUSPENDRESUME
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> Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> Link: https://patch.msgid.link/20260328-ktd2801-pm-fix-v1-1-007cb103faeb@dujemihanovic.xyz Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
254f49634e
commit
f37f5a2ac9
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user