Currently only hda will create kctls for hda jacks, for asoc, people may need create jack kctls in specific driver.
Here we are introducing kctls for each jack, by creating kctls and add them to jack controls list (considering exist of combo jack). At the same time, we will report events for each control in the list.
With this implement, we are no longer need hda jack kctls, so here also remove jack kctls for hda.
Any comments are welcome.
Jie Yang (2): ALSA: jack: create jack kcontrols for every jack input device ALSA: hda - Remove jack kctls
include/sound/jack.h | 8 ++++ sound/core/Kconfig | 3 -- sound/core/Makefile | 3 +- sound/core/jack.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++- sound/pci/hda/Kconfig | 10 +---- sound/pci/hda/hda_jack.c | 45 ++-------------------- sound/pci/hda/hda_jack.h | 3 -- 7 files changed, 110 insertions(+), 61 deletions(-)