mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
platform-drivers-x86 for v7.4-2
Fixes
- arm64: asus-glymur-ec: Resolve config loop due to THERMAL symbol
- uniwill-laptop: Add .hw_offloaded() to avoid leds subsystem warning
about missing callback
The following is an automated shortlog grouped by driver:
arm64:
- drop the vacuous THERMAL dependency from EC_ASUS_GLYMUR
uniwill-laptop:
- Implement .hw_offloaded trigger callback
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSCSUwRdwTNL2MhaBlZrE9hU+XOMQUCauxNyQAKCRBZrE9hU+XO
MQTuAQCHb0Jc4plu6Yfd2/mKDRYjzHCnJieOUQEBRzRpgUwfjgD/Wyo3XQQA8bGC
MkBsCH8kNu7MupgnFGROskiMW5lffAU=
=3ohE
-----END PGP SIGNATURE-----
Merge tag 'platform-drivers-x86-v7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
Pull platform driver fixes from Ilpo Järvinen:
- arm64: asus-glymur-ec: Resolve config loop due to THERMAL symbol
- uniwill-laptop: Add .hw_offloaded() to avoid leds subsystem warning
about missing callback
* tag 'platform-drivers-x86-v7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
platform/x86: uniwill-laptop: Implement .hw_offloaded trigger callback
platform: arm64: drop the vacuous THERMAL dependency from EC_ASUS_GLYMUR
This commit is contained in:
commit
2d2200551c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user