]> git.itanic.dy.fi Git - linux-stable/commit
platform/x86: thinkpad_acpi: Add profile force ability
authorMark Pearson <mpearson-lenovo@squebb.ca>
Fri, 5 May 2023 13:25:23 +0000 (09:25 -0400)
committerHans de Goede <hdegoede@redhat.com>
Tue, 9 May 2023 08:54:45 +0000 (10:54 +0200)
commit1684878952929e20a864af5df7b498941c750f45
tree5ba25d0013d781de1482bca8abf973cb3ae78cec
parent0c0cd3e25a5b64b541dd83ba6e032475a9d77432
platform/x86: thinkpad_acpi: Add profile force ability

There has been a lot of confusion around which platform profiles are
supported on various platforms and it would be useful to have a debug
method to be able to override the profile mode that is selected.

I don't expect this to be used in anything other than debugging in
conjunction with Lenovo engineers - but it does give a way to get a
system working whilst we wait for either FW fixes, or a driver fix
to land upstream, if something is wonky in the mode detection logic

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20230505132523.214338-2-mpearson-lenovo@squebb.ca
Cc: stable@vger.kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c