]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Add virtual master control helpers
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2008 15:52:42 +0000 (16:52 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:54 +0000 (17:29 +0100)
commit63b1771141e21463d3b74c26b4a8062af7e56e05
tree02cb156ca8dc6780f8b89fcd08c5794ea94bb42a
parentfd4a03d793fc2cdbbe86a85c03bc340fca3d0d4d
[ALSA] Add virtual master control helpers

Added helper functions to implement virtual master volume controls.
The virtual master control is a control element that has multiple
slave controls.  The value of master element is equally added to
slave elements.
The functions are written for general purpose, but it's put in the
HD-audio directory as now, since HD-audio driver is the only user.
It should be moved to the common place once after other drivers use
vmaster.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/Makefile
sound/pci/hda/hda_local.h
sound/pci/hda/vmaster.c [new file with mode: 0644]