]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: Add lid_logo_dot to the list of safe LEDs
authorHans de Goede <hdegoede@redhat.com>
Tue, 23 Nov 2021 21:05:24 +0000 (22:05 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 2 Dec 2021 11:58:25 +0000 (12:58 +0100)
commit915657b680f9e7a07e113f151f30a6c780abc3fc
tree62fa5e935e61ff6bf80db8ba36297a65d1b3485a
parent28212b2cc2c0907c9d34996839b86b1325fdf4bb
platform/x86: thinkpad_acpi: Add lid_logo_dot to the list of safe LEDs

There have been various bugs / forum threads about allowing control of
the LED in the ThinkPad logo on the lid of various models.

This seems to be something which users want to control and there really
is no reason to require setting CONFIG_THINKPAD_ACPI_UNSAFE_LEDS for this.

The lid-logo-dot is LED number 10, so change the name of the 10th led
from unknown_led2 to lid_logo_dot and add it to the TPACPI_SAFE_LEDS mask.

Link: https://www.reddit.com/r/thinkpad/comments/7n8eyu/thinkpad_led_control_under_gnulinux/
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1943318
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211123210524.266705-2-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c