diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-02-05 12:28:40 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-02-05 14:43:01 +0100 |
commit | d717e4509af0380a94dbc28b61839df39f17e1eb (patch) | |
tree | e4bdfefb02617db68f2eae1e2370ae007196d85c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 34fc68348554d5b0f98def6cae9f252c3eb0c172 (diff) |
platform/x86: asus-wmi: Fix regression when probing for fan curve control
The fan curve control patches introduced a regression for at least the
TUF FX506 and possibly other TUF series laptops that do not have support
for fan curve control.
As part of the probing process, asus_wmi_evaluate_method_buf is called
to get the factory default fan curve . The WMI management function
returns 0 on certain laptops to indicate lack of fan curve control
instead of ASUS_WMI_UNSUPPORTED_METHOD. This 0 is transformed to
-ENODATA which results in failure when probing.
Fixes: 0f0ac158d28f ("platform/x86: asus-wmi: Add support for custom fan curves")
Reported-and-tested-by: Abhijeet V <abhijeetviswa@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220205112840.33095-1-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions