]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
platform/x86: dell-*: Call new led hw_changed API on kbd brightness change
authorHans de Goede <hdegoede@redhat.com>
Thu, 16 Mar 2017 10:55:35 +0000 (11:55 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:12:46 +0000 (10:12 -0700)
commit9c656b07997f518ab407dd990aaf55f358337bd6
tree2c18c163605848b7e5c040f593e3869eca4ff610
parente5bf5df7858e2339d277427129139995628c49a7
platform/x86: dell-*: Call new led hw_changed API on kbd brightness change

Make dell-wmi notify on hotkey kbd brightness changes, listen for this
in dell-laptop and call led_classdev_notify_brightness_hw_changed.

This will allow userspace to monitor (poll) for brightness changes on
these LEDs caused by the hotkey.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-laptop.c
drivers/platform/x86/dell-wmi.c