ALSA: virtuoso: fix Essence ST(X) S/PDIF input
authorClemens Ladisch <clemens@ladisch.de>
Sat, 18 Jun 2011 21:05:00 +0000 (23:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Aug 2011 11:35:14 +0000 (13:35 +0200)
On the Xonar Essence ST/STX, the connector J14 has been confirmed to be
a digital input, so enable it in the driver.

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

index 32d096c98f5bc2f6f1ca45e3261b1faed3e2e629..8433aa7c3d754064f9e0b57cae437277161f09f5 100644 (file)
@@ -1074,6 +1074,7 @@ static const struct oxygen_model model_xonar_st = {
        .device_config = PLAYBACK_0_TO_I2S |
                         PLAYBACK_1_TO_SPDIF |
                         CAPTURE_0_FROM_I2S_2 |
+                        CAPTURE_1_FROM_SPDIF |
                         AC97_FMIC_SWITCH,
        .dac_channels_pcm = 2,
        .dac_channels_mixer = 2,