aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_lib.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-14 02:55:03 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:56 -0500
commit7113e95812f508bff10f95f2e52ce6ee8cda1875 (patch)
tree88ffdb570507c19a51ce5d48db474f1ec3788469 /sound/pci/oxygen/oxygen_lib.c
parentbc9abce0de0b180817bc7e9f73145ef0b6a464ef (diff)
[ALSA] oxygen: fix channel routing
Do not exchange the surround and back jacks except when in 7.1 mode where the surround jack is not rear but side. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r--sound/pci/oxygen/oxygen_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c
index 2418ceb44858..9cd4be2593ab 100644
--- a/sound/pci/oxygen/oxygen_lib.c
+++ b/sound/pci/oxygen/oxygen_lib.c
@@ -193,7 +193,7 @@ static void __devinit oxygen_init(struct oxygen *chip)
193 oxygen_write16(chip, OXYGEN_I2S_C_FORMAT, 0x010a); 193 oxygen_write16(chip, OXYGEN_I2S_C_FORMAT, 0x010a);
194 oxygen_set_bits32(chip, OXYGEN_SPDIF_CONTROL, OXYGEN_SPDIF_MAGIC2); 194 oxygen_set_bits32(chip, OXYGEN_SPDIF_CONTROL, OXYGEN_SPDIF_MAGIC2);
195 oxygen_write32(chip, OXYGEN_SPDIF_OUTPUT_BITS, chip->spdif_bits); 195 oxygen_write32(chip, OXYGEN_SPDIF_OUTPUT_BITS, chip->spdif_bits);
196 oxygen_write16(chip, OXYGEN_PLAY_ROUTING, 0x6c00); 196 oxygen_write16(chip, OXYGEN_PLAY_ROUTING, 0xe100);
197 oxygen_write8(chip, OXYGEN_REC_ROUTING, 0x10); 197 oxygen_write8(chip, OXYGEN_REC_ROUTING, 0x10);
198 oxygen_write8(chip, OXYGEN_ADC_MONITOR, 0x00); 198 oxygen_write8(chip, OXYGEN_ADC_MONITOR, 0x00);
199 oxygen_write8(chip, OXYGEN_A_MONITOR_ROUTING, 0xe4); 199 oxygen_write8(chip, OXYGEN_A_MONITOR_ROUTING, 0xe4);