ALSA: emu10k1: add toggles for E-mu 1010 optical ports
authorMichael Gernoth <michael@gernoth.net>
Sat, 11 Apr 2015 16:00:19 +0000 (18:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 11 Apr 2015 16:35:06 +0000 (18:35 +0200)
commit99dcab46b5a5b470074bec6d8386e2c7807684cf
treee8eb312594449a43bc9f0b4332c0a7e3983458e5
parentcab2ed7474bffafd2a68a885e03b85526194abcd
ALSA: emu10k1: add toggles for E-mu 1010 optical ports

The optical ports on the E-mu 1010 (and dock) can be configured
for ADAT- or S/PDIF-mode, which is currently hardcoded to ADAT.
Add two mixer elements to expose this setting.
Tested on an E-mu 1010 PCIe with connected Micro Dock.

Signed-off-by: Michael Gernoth <michael@gernoth.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emumixer.c