]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
asus-wmi: provide access to ALS control
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 1 Apr 2016 11:35:21 +0000 (13:35 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 27 May 2016 18:47:54 +0000 (11:47 -0700)
commitaca234f6378864d85514be558746c0ea6eabfa8e
tree87bba4db80e8b788350474bd582d80645cfcd473
parent2d98e0b942dd5ac359ced5183b4a5a769620380f
asus-wmi: provide access to ALS control

Asus Zenbook ux31a is providing ACPI0008 interface for ALS
(Ambient Light Sensor), which is accessible for OS => Win 7.
This sensor can be used with iio/acpi-als driver.
Since it is disabled by default, we should use asus-wmi
interface to enable it.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/asus-wmi.c