Skip to content
Commit 325253a6 authored by Matthew Garrett's avatar Matthew Garrett Committed by Richard Purdie
Browse files

backlight: Allow drivers to update the core, and generate events on changes



Certain hardware will send us events when the backlight brightness
changes. Add a function to update the value in the core, and
additionally send a uevent so that userspace can pop up appropriate
UI. The uevents are flagged depending on whether the update originated
in the kernel or from userspace, making it easier to only display UI
at the appropriate time.

Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent 0f7e7273
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment