diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-02-21 09:10:53 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-02-21 09:10:53 -0800 |
| commit | 038101e6b2cd5c55f888f85db42ea2ad3aecb4b6 (patch) | |
| tree | 16bda87a5067175e83a8c7596a11c5944199c75c /drivers/platform/x86/asus-wmi.c | |
| parent | cfb92440ee71adcc2105b0890bb01ac3cddb8507 (diff) | |
| parent | ae09639e3b2a0291b37b122c94dd4f773cd4e513 (diff) | |
| download | linux-038101e6b2cd5c55f888f85db42ea2ad3aecb4b6.tar.gz linux-038101e6b2cd5c55f888f85db42ea2ad3aecb4b6.tar.bz2 linux-038101e6b2cd5c55f888f85db42ea2ad3aecb4b6.zip | |
Merge tag 'platform-drivers-x86-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
Pull x86 platform driver fixes from Hans de Goede:
"Two small fixes and one hardware-id addition"
* tag 'platform-drivers-x86-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
platform/x86: int3472: Add terminator to gpiod_lookup_table
platform/x86: asus-wmi: Fix regression when probing for fan curve control
platform/x86: thinkpad_acpi: Add dual-fan quirk for T15g (2nd gen)
Diffstat (limited to 'drivers/platform/x86/asus-wmi.c')
| -rw-r--r-- | drivers/platform/x86/asus-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index a3b83b22a3b1..2104a2621e50 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -2223,7 +2223,7 @@ static int fan_curve_check_present(struct asus_wmi *asus, bool *available, err = fan_curve_get_factory_default(asus, fan_dev); if (err) { - if (err == -ENODEV) + if (err == -ENODEV || err == -ENODATA) return 0; return err; } |
