Files
linux-stable-mirror/drivers/acpi
Lifeng Zheng f7fc13f783 ACPI: CPPC: Fix _CPC register setting issue
[ Upstream commit 2388b266c9 ]

Since commit 60949b7b80 ("ACPI: CPPC: Fix MASK_VAL() usage"), _CPC
registers cannot be changed from 1 to 0.

It turns out that there is an extra OR after MASK_VAL_WRITE(), which
has already ORed prev_val with the register mask.

Remove the extra OR to fix the problem.

Fixes: 60949b7b80 ("ACPI: CPPC: Fix MASK_VAL() usage")
Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://patch.msgid.link/20241113103309.761031-1-zhenglifeng1@huawei.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-05 14:01:20 +01:00
..
2024-09-11 21:42:20 +02:00
2024-04-08 16:10:27 +02:00
2024-09-03 21:15:30 -07:00
2024-05-28 11:53:35 +02:00
2024-05-28 11:53:35 +02:00
2024-05-28 11:53:35 +02:00
2024-09-24 15:32:06 +08:00
2024-05-28 11:53:35 +02:00
2024-03-27 16:36:45 +01:00
2024-07-19 10:10:33 -05:00
2024-07-04 14:36:03 +01:00