ALSA: hdspm - Enable AD/DA/PH gains and S/PDIF-Input select on AIO
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 5 Jul 2013 09:28:01 +0000 (11:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2013 12:51:00 +0000 (14:51 +0200)
commit42f4c12dcf46cbca8b7bb17610c0cb7ffbd7ab2e
tree4ce2d1c1b8e96380880212dc222d1ca498425b34
parentacf14767e17ab7ee8b6213f9e56d07d9ffa033da
ALSA: hdspm - Enable AD/DA/PH gains and S/PDIF-Input select on AIO

This patch uses the newly introduced HDSPM_CONTROL_TRISTATE functions to
create and expose the following ALSA controls:

   - Gain selection for Input, Output and Phones (HiGain, +4dBu, -10dbV)
   - S/PDIF Input select (Coaxial, Optical, Internal)

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c