]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: HDA - remove the custom implementation for the audio LED trigger
authorJaroslav Kysela <perex@perex.cz>
Wed, 17 Mar 2021 17:29:43 +0000 (18:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Mar 2021 13:35:15 +0000 (15:35 +0200)
commite137d95c7cd7d030df0f470141fee6e4f1387443
treed738d596ea75f8350b503dd9212c1cc4801826be
parent57a56cffc61badff678ec096c24592b01473a916
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>
sound/pci/hda/Kconfig
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h
sound/pci/hda/hda_local.h
sound/pci/hda/patch_ca0132.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/thinkpad_helper.c