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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 May 2022 14:51:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257796

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit e26ef41f79902991c772b59927c721aa7fa5fc64
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-05-25 14:48:10 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-25 14:50:25 +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

 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.