Commit 935e68c6 authored by Roman Volkov's avatar Roman Volkov Committed by Ben Hutchings

ALSA: oxygen: Xonar DG(X): capture from I2S channel 1, not 2

commit 3dd77654 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: default avatarRoman Volkov <v1ron@mail.ru>
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent dd615645
...@@ -597,7 +597,7 @@ struct oxygen_model model_xonar_dg = { ...@@ -597,7 +597,7 @@ struct oxygen_model model_xonar_dg = {
.model_data_size = sizeof(struct dg), .model_data_size = sizeof(struct dg),
.device_config = PLAYBACK_0_TO_I2S | .device_config = PLAYBACK_0_TO_I2S |
PLAYBACK_1_TO_SPDIF | PLAYBACK_1_TO_SPDIF |
CAPTURE_0_FROM_I2S_2, CAPTURE_0_FROM_I2S_1,
.dac_channels_pcm = 6, .dac_channels_pcm = 6,
.dac_channels_mixer = 0, .dac_channels_mixer = 0,
.function_flags = OXYGEN_FUNCTION_SPI, .function_flags = OXYGEN_FUNCTION_SPI,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment