]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: uniwill-laptop: Mark EC_ADDR_OEM_4 as volatile
authorArmin Wolf <W_Armin@gmx.de>
Tue, 12 May 2026 23:21:43 +0000 (01:21 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 28 May 2026 10:23:32 +0000 (13:23 +0300)
commitf7bcba269143230923e40cd88b9169ed27f178ae
treea7bfeafce947c4082c769ade9561c272c183df4d
parent4d86e384c164abeee17da09fe6cd24a37973e628
platform/x86: uniwill-laptop: Mark EC_ADDR_OEM_4 as volatile

It turned out that EC_ADDR_OEM_4 also contains bits with a volatile
nature. Mark the whole register as volatile to prepare for the usage
of said bits. This also means that we now have to save/restore the
touchpad toggle state ourself.

Reviewed-by: Werner Sembach <wse@tuxedocomputers.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20260512232145.329260-7-W_Armin@gmx.de
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/uniwill/uniwill-acpi.c