| commit | eebf82012dddbdcb09e4e49d3cdfafb93bc66eb2 | [log] [tgz] |
|---|---|---|
| author | Hans de Goede <hdegoede@redhat.com> | Sat Jan 28 00:57:23 2023 +0100 |
| committer | Hans de Goede <hdegoede@redhat.com> | Mon Jan 30 14:37:22 2023 +0100 |
| tree | 92e13b1fb3d4c102f3cf7b6cd0ad0404fa27fc70 | |
| parent | abce209d18fd26e865b2406cc68819289db973f9 [diff] |
platform/x86: thinkpad_acpi: Fix thinklight LED brightness returning 255
Reading the thinklight LED brightnes while the LED is on returns
255 (LED_FULL) but we advertise a max_brightness of 1, so this should
be 1 (LED_ON).
Fixes: db5e2a4ca0a7 ("platform/x86: thinkpad_acpi: Fix max_brightness of thinklight")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230127235723.412864-1-hdegoede@redhat.com