OSDN Git Service

asus-wmi: provide access to ALS control
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 1 Apr 2016 11:35:21 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Nov 2019 17:25:31 +0000 (18:25 +0100)
commit32101be3235ec7696502f73cad379e19fda60878
treed0b8977ff3c321933c6403638181a8261cc90aff
parent0e0280b077f29f19c3586432f6bf468c43fa3f81
asus-wmi: provide access to ALS control

[ Upstream commit aca234f6378864d85514be558746c0ea6eabfa8e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/asus-wmi.c