Commit aa2fef6
platform/x86: thinkpad_acpi: Correct dual fan probe
There was an issue with the dual fan probe whereby the probe was
failing as it assuming that second_fan support was not available.
Corrected the logic so the probe works correctly. Cleaned up so
quirks only used if 2nd fan not detected.
Tested on X1 Carbon 10 (2 fans), X1 Carbon 9 (2 fans) and T490 (1 fan)
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220502191200.63470-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent 455cd86 commit aa2fef6
1 file changed
Lines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8880 | 8880 | | |
8881 | 8881 | | |
8882 | 8882 | | |
8883 | | - | |
8884 | | - | |
8885 | | - | |
8886 | | - | |
8887 | | - | |
8888 | | - | |
8889 | | - | |
8890 | | - | |
8891 | | - | |
8892 | 8883 | | |
| 8884 | + | |
8893 | 8885 | | |
8894 | 8886 | | |
8895 | 8887 | | |
8896 | 8888 | | |
8897 | 8889 | | |
8898 | 8890 | | |
| 8891 | + | |
| 8892 | + | |
| 8893 | + | |
| 8894 | + | |
| 8895 | + | |
| 8896 | + | |
| 8897 | + | |
| 8898 | + | |
| 8899 | + | |
| 8900 | + | |
| 8901 | + | |
| 8902 | + | |
8899 | 8903 | | |
8900 | | - | |
8901 | 8904 | | |
8902 | 8905 | | |
8903 | 8906 | | |
| |||
0 commit comments