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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 1 Apr 2014 23:59:01 +0000 (00:59 +0100)
commit 3dd77654fb1d7f68b9739f3039bad8dbbc0739f8 upstream.

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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/oxygen/xonar_dg.c

index bc6eb58..bbbb24e 100644 (file)
@@ -597,7 +597,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,
        .dac_channels_pcm = 6,
        .dac_channels_mixer = 0,
        .function_flags = OXYGEN_FUNCTION_SPI,