diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig index 2a84775a13a9..3f879410b311 100644 --- a/drivers/platform/arm64/Kconfig +++ b/drivers/platform/arm64/Kconfig @@ -40,7 +40,6 @@ config EC_ASUS_GLYMUR depends on HWMON depends on INPUT depends on PM - depends on THERMAL || THERMAL=n select NEW_LEDS select LEDS_CLASS help diff --git a/drivers/platform/x86/uniwill/uniwill-acpi.c b/drivers/platform/x86/uniwill/uniwill-acpi.c index f62d59f29676..ee444577e691 100644 --- a/drivers/platform/x86/uniwill/uniwill-acpi.c +++ b/drivers/platform/x86/uniwill/uniwill-acpi.c @@ -1543,12 +1543,18 @@ static void uniwill_lightbar_trigger_deactivate(struct led_classdev *led_cdev) dev_err(led_cdev->dev, "Failed to stop rainbow animation: %d\n", ret); } +static bool uniwill_lightbar_trigger_hw_offloaded(struct led_classdev *led_cdev) +{ + return true; +} + static struct led_hw_trigger_type uniwill_lightbar_trigger_type; static struct led_trigger uniwill_lightbar_trigger = { .name = "uniwill-rainbow", .activate = uniwill_lightbar_trigger_activate, .deactivate = uniwill_lightbar_trigger_deactivate, + .hw_offloaded = uniwill_lightbar_trigger_hw_offloaded, .trigger_type = &uniwill_lightbar_trigger_type, };