diff options
author | Armin Wolf <[email protected]> | 2024-11-24 18:19:41 +0100 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-12-02 18:54:12 +0200 |
commit | 25fb5f47f34d90aceda2c47a4230315536e97fa8 (patch) | |
tree | c2e3c13d92279aaf2e6155a1e1556045c9828dc3 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 3510398032b445abd034753ce86a60882f41fe27 (diff) |
platform/x86: asus-wmi: Ignore return value when writing thermal policy
On some machines like the ASUS Vivobook S14 writing the thermal policy
returns the currently writen thermal policy instead of an error code.
Ignore the return code to avoid falsely returning an error when the
thermal policy was written successfully.
Reported-by: [email protected]
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219517
Fixes: 2daa86e78c49 ("platform/x86: asus_wmi: Support throttle thermal policy")
Signed-off-by: Armin Wolf <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions