linux/drivers/platform/x86/x86-android-tablets
Hans de Goede df40a23cc3 platform/x86: x86-android-tablets: Adjust Xiaomi Pad 2 bottom bezel touch buttons LED
The "input-events" LED trigger used to turn on the backlight LEDs had to
be rewritten to use led_trigger_register_simple() + led_trigger_event()
to fix a serious locking issue.

This means it no longer supports using blink_brightness to set a per LED
brightness for the trigger and it no longer sets LED_CORE_SUSPENDRESUME.

Adjust the MiPad 2 bottom bezel touch buttons LED class device to match:

1. Make LED_FULL the maximum brightness to fix the LED brightness
   being very low when on.
2. Set flags = LED_CORE_SUSPENDRESUME.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240916090255.35548-1-hdegoede@redhat.com
2024-09-16 15:10:46 +02:00
..
Kconfig platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00
Makefile platform/x86: x86-android-tablets: Move remaining tablets to other.c 2023-03-07 12:08:31 +01:00
asus.c platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00
core.c platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00
dmi.c hwmon fixes for v6.11-rc7 2024-09-05 16:57:36 +02:00
lenovo.c platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00
other.c platform/x86: x86-android-tablets: Adjust Xiaomi Pad 2 bottom bezel touch buttons LED 2024-09-16 15:10:46 +02:00
shared-psy-info.c platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00
shared-psy-info.h platform/x86: x86-android-tablets: Move shared power-supply fw-nodes to a separate file 2023-03-07 12:08:31 +01:00
x86-android-tablets.h platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00