* [PATCH] Input: leds: Change config symbol dependency for audio mute trigger
@ 2024-03-02 15:24 Heiner Kallweit
2024-03-03 22:36 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Heiner Kallweit @ 2024-03-02 15:24 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: open list:HID CORE LAYER, linux-leds@vger.kernel.org, Lee Jones
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>
---
drivers/input/input-leds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/input-leds.c b/drivers/input/input-leds.c
index b16fc8194..6bbf3806e 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
--
2.44.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: leds: Change config symbol dependency for audio mute trigger
2024-03-02 15:24 [PATCH] Input: leds: Change config symbol dependency for audio mute trigger Heiner Kallweit
@ 2024-03-03 22:36 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2024-03-03 22:36 UTC (permalink / raw)
To: Heiner Kallweit
Cc: open list:HID CORE LAYER, linux-leds@vger.kernel.org, Lee Jones
On Sat, Mar 02, 2024 at 04:24:28PM +0100, Heiner Kallweit wrote:
> 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>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-03 22:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-02 15:24 [PATCH] Input: leds: Change config symbol dependency for audio mute trigger Heiner Kallweit
2024-03-03 22:36 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).