ALSA: hda - Add a helper function for simple enum kcontrols
authorTakashi Iwai <tiwai@suse.de>
Fri, 30 Nov 2012 17:34:38 +0000 (18:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Nov 2012 17:34:38 +0000 (18:34 +0100)
commitdda415d41882449f841f88d829dd65b6ee1c374c
treedde9f520ddf3466235bf60d610f54383a4d76f9c
parent475c3d21e8e1fe7cbec76b0f3e8d9f4dea66acd8
ALSA: hda - Add a helper function for simple enum kcontrols

The same type of code is being used in multiple places in various
codec drivers, so put it as a core library.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_via.c