ALSA: control-led: Integrate mute led trigger
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 4 Mar 2024 20:58:46 +0000 (21:58 +0100)
committerLee Jones <lee@kernel.org>
Thu, 28 Mar 2024 10:39:50 +0000 (10:39 +0000)
commita24de38de8046c075777bd6b8a291ae1ee56f71c
tree4d0a9d24b5f415329e028832846b4a1b70f0ab09
parent822c91e72eac568ed8d83765634f00decb45666c
ALSA: control-led: Integrate mute led trigger

This driver is the only one calling ledtrig_audio_set(), therefore
the LED audio trigger isn't usable standalone. So it makes sense
to fully integrate LED audio triger handling here.

The module aliases ensure that the driver is auto-loaded (if built
as module) if a LED device has one of the two audio triggers as
default trigger.

In addition disable building the old audio mute LED trigger.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/107634e6-d9ad-4a9f-881d-1eb72ea1a5a7@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/trigger/Kconfig
drivers/leds/trigger/Makefile
sound/core/Kconfig
sound/core/control_led.c