Skip to contentSkip to conversation

Input: leds: Change config symbol dependency for audio mute trigger

PATCH Applied Heiner Kallweit 2 participants 2 messages Mar 2, 2024 – Mar 3, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: leds: Change config symbol dependency for audio mute trigger

In a follow-up patch implementation of the LED audio trigger will be moved to sound/core/snd_ctl_led, including removal of config symbol LEDS_AUDIO_TRIGGER. Also as of today the audio mute LED trigger is effectively a no-op w/o config symbol SND_CTL_LED being defined. Therefore switch the dependency to this config symbol.

---
 drivers/input/input-leds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/input-leds.c +1 -1
index b16fc8194..6bbf3806e 100644
@@ -18,7 +18,7 @@
 #define VT_TRIGGER(_name)	.trigger = NULL
 #endif
 
-#if IS_ENABLED(CONFIG_LEDS_TRIGGER_AUDIO)
+#if IS_ENABLED(CONFIG_SND_CTL_LED)
 #define AUDIO_TRIGGER(_name)	.trigger = _name
 #else
 #define AUDIO_TRIGGER(_name)	.trigger = NULL
Signature · 1 line
2.44.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Heiner Kallweit

In a follow-up patch implementation of the LED audio trigger will be moved to sound/core/snd_ctl_led, including removal of config symbol LEDS_AUDIO_TRIGGER. Also as of today the audio mute LED trigger is effectively a no-op w/o config symbol SND_CTL_LED being defined. Therefore switch the dependency to this config symbol.

Applied, thank you.

Signature · 1 line
Dmitry