[Bug 257796] backlight(8) gets confused on power change

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Jun 2022 07:13:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257796

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b203d3de6b1a7ab38f0a1e3d944a1c4887e31a9b

commit b203d3de6b1a7ab38f0a1e3d944a1c4887e31a9b
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-05-25 14:48:10 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-06-01 07:12:18 +0000

    backlight: Update cached value when getting the brightness

    External events can cause the backlight level to change (AC adapter
    plug/unplug for example) so cache the value there too.

    PR:             257796
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    MFC after:      1 week

    (cherry picked from commit e26ef41f79902991c772b59927c721aa7fa5fc64)

 sys/dev/backlight/backlight.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.