diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-12-06 13:07:43 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-11 12:24:50 +0400 |
commit | 56225e4cc88a24d3e1632bdfb901a3c38615fc42 (patch) | |
tree | 537c01875b0cb69099a22da558f69bbe9f7558b1 /sound/pci/oxygen/xonar_dg.c | |
parent | 52cd0a76fd7e7b47f0b0ad594ad5fd3b69949f76 (diff) | |
download | linux-56225e4cc88a24d3e1632bdfb901a3c38615fc42.tar.xz |
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 = { .model_data_size = sizeof(struct dg), .device_config = PLAYBACK_0_TO_I2S | PLAYBACK_1_TO_SPDIF | - CAPTURE_0_FROM_I2S_2, + CAPTURE_0_FROM_I2S_2 | + CAPTURE_1_FROM_SPDIF, .dac_channels_pcm = 6, .dac_channels_mixer = 0, .function_flags = OXYGEN_FUNCTION_SPI, |