summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorAzael Avalos <coproscefalo@gmail.com>2015-11-23 10:51:30 -0700
committerDarren Hart <dvhart@linux.intel.com>2016-01-19 15:49:21 -0800
commit65e3cf9c0f05877f76eefcb4f005944dc5379fbf (patch)
treea48e2553627b78a7d12d9e53e5b8da579e0ecaa7 /lib/test-string_helpers.c
parent2fdde83443aa84b2a163dbcc5165f8139845b15e (diff)
toshiba_acpi: Fix keyboard backlight sysfs entries not being updated
Certain Toshiba models with the second generation keyboard backlight (type 2) do not generate the keyboard backlight changed event (0x92), and thus, the sysfs entries are never being updated. This patch adds a workquee and a global boolean variable to address the issue. For those models that do generate the event, the sysfs entries are being updated via the *notify function and the boolean is set to true to avoid a second call to update the entries. For those models that do not generate the event, the workquee is used to update the sysfs entries and also to emulate the event via netlink, to make userspace aware of such change. Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions