HomeFreeBSD

backlight: Update cached value when getting the brightness

Description

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

Details

Provenance
manuAuthored on May 25 2022, 2:48 PM
Parents
rG3ddd6eb688af: diff3: Add help and version options
Branches
Unknown
Tags
Unknown