ALSA: oxygen: Xonar DG(X): capture from I2S channel 1, not 2
authorRoman Volkov <v1ron@mail.ru>
Fri, 24 Jan 2014 12:18:14 +0000 (16:18 +0400)
committerClemens Ladisch <clemens@ladisch.de>
Wed, 29 Jan 2014 19:45:49 +0000 (20:45 +0100)
Actually CS4245 connected to the I2S channel 1 for
capture, not channel 2. Otherwise capturing and
playback does not work for CS4245.

Signed-off-by: Roman Volkov <v1ron@mail.ru>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/pci/oxygen/xonar_dg_mixer.c

index a2cd0d31ac7700bc3bece01c8681bd3cfa7775fa..7e9fc4af81bdfbbeae051d502f832d15475c756a 100644 (file)
@@ -369,7 +369,7 @@ 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_1 |
                         CAPTURE_1_FROM_SPDIF,
        .dac_channels_pcm = 6,
        .dac_channels_mixer = 0,