]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: asus-wmi: fix screenpad brightness range
authorDenis Benato <denis.benato@linux.dev>
Mon, 2 Mar 2026 17:44:31 +0000 (18:44 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 13:00:55 +0000 (16:00 +0300)
commit8d95d1f4aa5c76202b0833a70998769384612488
treedef42c08e86a29683deba4c86d2796e0006ec2fc
parent130d29c5627cd50e786e926ad7ef66322c5a0c09
platform/x86: asus-wmi: fix screenpad brightness range

Fix screenpad brightness range being too limited without reason:
testing this patch on a Zenbook Duo showed the hardware minimum not being
too low, therefore allow the user to configure the entire range, and
expose to userspace the hardware brightness range and value.

Fixes: 2c97d3e55b70 ("platform/x86: asus-wmi: add support for ASUS screenpad")
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Luke Jones <luke@ljones.dev>
Link: https://patch.msgid.link/20260302174431.349816-3-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-wmi.c