]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Unify input label creations in generic parser
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 09:17:30 +0000 (10:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 09:17:30 +0000 (10:17 +0100)
commitfc1827ef5da32977ca98ee61206db75bebb49079
tree96a08caca3c70a4e9ef81cbab5639ecd58396740
parent5a06ad8a7a2e0c26d122de2bd744e93cb7702213
ALSA: hda - Unify input label creations in generic parser

There are a few places creating the labels and indices of kctls for
each input pin in the current generic parser code.  This is redundant
and makes harder to maintain.  Let's create the labels and indices at
once and keep them in hda_gen_spec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h