Skip to content

Commit 849c34e

Browse files
hkallweitdtor
authored andcommitted
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 <dmitry.torokhov@gmail.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://lore.kernel.org/r/6011ca63-187c-42dd-a5fd-7dd733d6257c@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 0f82d10 commit 849c34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/input-leds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#define VT_TRIGGER(_name) .trigger = NULL
1919
#endif
2020

21-
#if IS_ENABLED(CONFIG_LEDS_TRIGGER_AUDIO)
21+
#if IS_ENABLED(CONFIG_SND_CTL_LED)
2222
#define AUDIO_TRIGGER(_name) .trigger = _name
2323
#else
2424
#define AUDIO_TRIGGER(_name) .trigger = NULL

0 commit comments

Comments
 (0)