]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-wmi: Expand support of GPU fan to read RPM and label
authorLuke D. Jones <luke@ljones.dev>
Fri, 16 Sep 2022 00:46:23 +0000 (12:46 +1200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Sep 2022 12:43:51 +0000 (14:43 +0200)
commit8e41855e710080289186c29830c1f8675fe5aeb1
tree04122b1377512669a3ec8fbf5c93f605ca504fcb
parent821e4525284bcbb06fe61978305c000dd9f82a5f
platform/x86: asus-wmi: Expand support of GPU fan to read RPM and label

The previously added patch to add support for pwm change for TUF laptops
also is usuable for more than TUF. The same method `0x00110014` is
used to read the fan RPM.

Add two extra attributes for reading fan2 plus fan2 label.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20220916004623.10992-1-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c