aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2024-03-03 14:32:00 -0800
committerDmitry Torokhov <[email protected]>2024-03-03 14:46:06 -0800
commit849c34e63c0dd8d6ec1e3aed0bf34ffc72fa71e4 (patch)
treec2cf9f281452a8187d77b48a6f2dd31e60d7122b
parent0f82d108028a9dfea20e1c3c0ada1e64403002af (diff)
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. Suggested-by: Dmitry Torokhov <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r--drivers/input/input-leds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input-leds.c b/drivers/input/input-leds.c
index b16fc81940f5..6bbf3806ea37 100644
--- a/drivers/input/input-leds.c
+++ b/drivers/input/input-leds.c
@@ -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