Files
linux-stable-mirror/drivers/platform
Hans de GoedeandGreg Kroah-Hartman e7cdec97eb platform/x86: thinkpad_acpi: Fix thinklight LED brightness returning 255
[ Upstream commit eebf82012d ]

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: db5e2a4ca0 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-09 11:28:07 +01:00
..