Commit 1bc5d81
platform/x86: thinkpad_acpi: Fix profile modes on Intel platforms
My last commit to fix profile mode displays on AMD platforms caused
an issue on Intel platforms - sorry!
In it I was reading the current functional mode (MMC, PSC, AMT) from
the BIOS but didn't account for the fact that on some of our Intel
platforms I use a different API which returns just the profile and not
the functional mode.
This commit fixes it so that on Intel platforms it knows the functional
mode is always MMC.
I also fixed a potential problem that a platform may try to set the mode
for both MMC and PSC - which was incorrect.
Tested on X1 Carbon 9 (Intel) and Z13 (AMD).
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216963
Fixes: fde5f74 ("platform/x86: thinkpad_acpi: Fix profile mode display in AMT mode")
Cc: [email protected]
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>1 parent b0935f1 commit 1bc5d81
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10496 | 10496 | | |
10497 | 10497 | | |
10498 | 10498 | | |
10499 | | - | |
10500 | | - | |
| 10499 | + | |
10501 | 10500 | | |
10502 | 10501 | | |
10503 | 10502 | | |
| |||
10525 | 10524 | | |
10526 | 10525 | | |
10527 | 10526 | | |
10528 | | - | |
| 10527 | + | |
| 10528 | + | |
10529 | 10529 | | |
10530 | | - | |
| 10530 | + | |
| 10531 | + | |
| 10532 | + | |
10531 | 10533 | | |
10532 | 10534 | | |
10533 | 10535 | | |
10534 | 10536 | | |
10535 | | - | |
10536 | 10537 | | |
10537 | 10538 | | |
10538 | 10539 | | |
| |||
0 commit comments