sound: virtuoso: enable HDAV S/PDIF input
authorClemens Ladisch <clemens@ladisch.de>
Mon, 25 May 2009 08:06:22 +0000 (10:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2009 09:49:52 +0000 (11:49 +0200)
The Xonar HDAV1.3 has a digital input jack, so enable the corresponding
device.

This is not related to the HDMI stuff, which stays unsupported.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/virtuoso.c

index ebc4e8514f1dbe80f7236372dc2832cc8001ce68..71e38f48c6723b70eaf00c852149defd61c41718 100644 (file)
@@ -1022,7 +1022,8 @@ static const struct oxygen_model model_xonar_hdav = {
        .model_data_size = sizeof(struct xonar_data),
        .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 = 8,
        .dac_volume_min = 255 - 2*60,
        .dac_volume_max = 255,