]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: uniwill-laptop: Mark FN lock status as being volatile
authorArmin Wolf <W_Armin@gmx.de>
Wed, 18 Feb 2026 00:51:00 +0000 (01:51 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Feb 2026 16:06:42 +0000 (18:06 +0200)
commit2be519d94544e226636c185e28ec1a72d01aab87
tree76bc8a357622d750209ad9531560ede8ea8287d2
parent67e7eb4c130a74c5da9ab43316e00ed3186d1811
platform/x86: uniwill-laptop: Mark FN lock status as being volatile

It turns out that the FN lock status can be changed by the underlying
hardware when the user presses a special key combination. Mark the
associated register as volatile to prevent regmap from caching said
value. Also add the necessary suspend/resume handling.

Fixes: d050479693bb ("platform/x86: Add Uniwill laptop driver")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20260218005101.73680-4-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/uniwill/uniwill-acpi.c