diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-07-12 12:00:33 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-16 17:30:09 +0200 |
commit | 4f7f96453b462b3de0fa18d18fe983960bb5ee7f (patch) | |
tree | 413fc3dfbf5f5a0a16336543ce55b762eabf1172 /net/batman-adv/tvlv.h | |
parent | a131c2bf165684315f606fdd88cf80be22ba32f3 (diff) | |
download | talos-op-linux-4f7f96453b462b3de0fa18d18fe983960bb5ee7f.tar.gz talos-op-linux-4f7f96453b462b3de0fa18d18fe983960bb5ee7f.zip |
ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
Some machines change the brightness themselves when a brightness hotkey
gets pressed, despite us telling them not to. This causes the brightness to
go two steps up / down when the hotkey is pressed. This is esp. a problem
on older machines with only a few brightness levels.
This commit adds a new hw_changes_brightness quirk which makes
acpi_video_device_notify() only call backlight_force_update(...,
BACKLIGHT_UPDATE_HOTKEY) and not do anything else, notifying userspace
that the brightness was changed and leaving it at that fixing the dual
step problem.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204077
Reported-by: Kacper Piwiński <cosiekvfj@o2.pl>
Tested-by: Kacper Piwiński <cosiekvfj@o2.pl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/batman-adv/tvlv.h')
0 files changed, 0 insertions, 0 deletions