diff options
author | 2024-04-17 17:38:47 +0200 | |
---|---|---|
committer | 2024-05-02 18:02:01 +0100 | |
commit | 974afccd37947a6951a052ef8118c961e57eaf7b (patch) | |
tree | 8e7be8b907b070a7a62fbd8ca4b11fda6830e4a0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | leds: trigger: pattern: Add support for hrtimer (diff) | |
download | wireguard-linux-974afccd37947a6951a052ef8118c961e57eaf7b.tar.xz wireguard-linux-974afccd37947a6951a052ef8118c961e57eaf7b.zip |
leds: pwm: Disable PWM when going to suspend
On stm32mp1xx based machines (and others) a PWM consumer has to disable
the PWM because an enabled PWM refuses to suspend. So check the
LED_SUSPENDED flag and depending on that set the .enabled property.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218559
Fixes: 76fe464c8e64 ("leds: pwm: Don't disable the PWM when the LED should be off")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240417153846.271751-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions