ALSA: hda - Update to use the new jack kctls method
Jack snd_kcontrols can now be created during snd_jack_new() or by later calling snd_jack_add_new_kctls(). This patch creates the jacks during the initialisation stage for both phantom and non phantom jacks. Signed-off-by:Jie Yang <yang.jie@intel.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Showing
- include/sound/control.h 1 addition, 1 deletioninclude/sound/control.h
- sound/core/ctljack.c 2 additions, 2 deletionssound/core/ctljack.c
- sound/core/jack.c 1 addition, 1 deletionsound/core/jack.c
- sound/pci/hda/hda_jack.c 25 additions, 65 deletionssound/pci/hda/hda_jack.c
- sound/pci/hda/hda_jack.h 1 addition, 4 deletionssound/pci/hda/hda_jack.h
- sound/pci/hda/patch_hdmi.c 1 addition, 1 deletionsound/pci/hda/patch_hdmi.c
Loading
Please register or sign in to comment