diff options
| author | Lifeng Zheng <zhenglifeng1@huawei.com> | 2024-11-13 18:33:09 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:20 +0100 |
| commit | f7fc13f783d779e048767fefc91635bfac6ac8b4 (patch) | |
| tree | 8ab0dc66da256c8d138528537edb36ea2f532e53 /scripts | |
| parent | dfa8bedfffcae87976b34a45a724deb9c3a0a88e (diff) | |
| download | linux-f7fc13f783d779e048767fefc91635bfac6ac8b4.tar.gz linux-f7fc13f783d779e048767fefc91635bfac6ac8b4.tar.bz2 linux-f7fc13f783d779e048767fefc91635bfac6ac8b4.zip | |
ACPI: CPPC: Fix _CPC register setting issue
[ Upstream commit 2388b266c9fcc7c9169ba85c7f9ebe325b7622d7 ]
Since commit 60949b7b8054 ("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: 60949b7b8054 ("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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
