diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-12-06 04:07:43 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-11 03:24:50 -0500 |
commit | 56225e4cc88a24d3e1632bdfb901a3c38615fc42 (patch) | |
tree | 537c01875b0cb69099a22da558f69bbe9f7558b1 /sound/pci/oxygen/xonar_dg.c | |
parent | 52cd0a76fd7e7b47f0b0ad594ad5fd3b69949f76 (diff) |
ALSA: virtuoso: add S/PDIF input support for all Xonars
All Xonar cards support S/PDIF input, but the cards without optical or
coaxial plugs have only undocumented pin connectors. Support for the
ST/STX was already added in a previous patch; this adds support for the
D1/DX (JP2), DG (J5), DS (J5), and HDAV Slim (J12).
Many thanks to Zoltan Miklos for testing the DS and DX.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/xonar_dg.c')
-rw-r--r-- | sound/pci/oxygen/xonar_dg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/xonar_dg.c b/sound/pci/oxygen/xonar_dg.c index bc6eb58be380..793bdf03d7e0 100644 --- a/sound/pci/oxygen/xonar_dg.c +++ b/sound/pci/oxygen/xonar_dg.c | |||
@@ -597,7 +597,8 @@ struct oxygen_model model_xonar_dg = { | |||
597 | .model_data_size = sizeof(struct dg), | 597 | .model_data_size = sizeof(struct dg), |
598 | .device_config = PLAYBACK_0_TO_I2S | | 598 | .device_config = PLAYBACK_0_TO_I2S | |
599 | PLAYBACK_1_TO_SPDIF | | 599 | PLAYBACK_1_TO_SPDIF | |
600 | CAPTURE_0_FROM_I2S_2, | 600 | CAPTURE_0_FROM_I2S_2 | |
601 | CAPTURE_1_FROM_SPDIF, | ||
601 | .dac_channels_pcm = 6, | 602 | .dac_channels_pcm = 6, |
602 | .dac_channels_mixer = 0, | 603 | .dac_channels_mixer = 0, |
603 | .function_flags = OXYGEN_FUNCTION_SPI, | 604 | .function_flags = OXYGEN_FUNCTION_SPI, |