diff options
author | Jaroslav Kysela <perex@perex.cz> | 2021-03-17 20:29:43 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-03-30 16:35:15 +0300 |
commit | e65bf99718b538c2f34e9444dfe1087789b58f94 (patch) | |
tree | d738d596ea75f8350b503dd9212c1cc4801826be /sound/pci/hda/Kconfig | |
parent | 22d8de62f11b287b279f1d4473a78c7d5e53e7bc (diff) | |
download | linux-e65bf99718b538c2f34e9444dfe1087789b58f94.tar.xz |
ALSA: HDA - remove the custom implementation for the audio LED trigger
With the new snd-ctl-led module, we have a generic way
to trigger audio LEDs based on the sound control changes.
Remove the custom implementation from the HDA driver.
Move the LED initialization before snd_hda_gen_parse_auto_config()
call in all drivers to create marked controls there.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20210317172945.842280-5-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/Kconfig')
-rw-r--r-- | sound/pci/hda/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index 90759391cbac..c4360cdbc728 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig @@ -221,10 +221,8 @@ comment "Set to Y if you want auto-loading the codec driver" config SND_HDA_GENERIC tristate "Enable generic HD-audio codec parser" - select NEW_LEDS if SND_HDA_GENERIC_LEDS + select SND_CTL_LED if SND_HDA_GENERIC_LEDS select LEDS_CLASS if SND_HDA_GENERIC_LEDS - select LEDS_TRIGGERS if SND_HDA_GENERIC_LEDS - select LEDS_TRIGGER_AUDIO if SND_HDA_GENERIC_LEDS help Say Y or M here to enable the generic HD-audio codec parser in snd-hda-intel driver. |