diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-09-16 11:02:55 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-09-16 15:10:46 +0200 |
commit | df40a23cc34c200cfde559eda7ca540f3ae7bd9e (patch) | |
tree | 33231e90cc7f47b9697bfbe28b694de0b942473a /drivers/gpu/drm/amd/amdgpu | |
parent | 305790dd91057a3f7497c9d128614a4f8486b62b (diff) |
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions