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)
commit91809918730f9596acc1ea4ce2e8419543653b87
tree04122b1377512669a3ec8fbf5c93f605ca504fcb
parent096575db0b76defc357ac8db9404d2ddb92792a6
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