]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: oxpec: Fix turbo register for G1 AMD
authorAntheas Kapenekakis <lkml@antheas.dev>
Fri, 18 Jul 2025 16:33:04 +0000 (18:33 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Jul 2025 14:45:34 +0000 (17:45 +0300)
commit232b41d3c2ce8cf4641a174416676458bf0de5b2
tree5ffcf11d1cc3e50f74f0fe0d3faa819ebbfc2d59
parent2c402a801c19568de97b86a77b25d13448dc080a
platform/x86: oxpec: Fix turbo register for G1 AMD

Turns out that the AMD variant of the G1 uses different EC registers
than the Intel variant. Differentiate them and apply the correct ones
to the AMD variant.

Fixes: b369395c895b ("platform/x86: oxpec: Add support for the OneXPlayer G1")
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250718163305.159232-1-lkml@antheas.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/oxpec.c