aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/oxygen_mixer.c')
-rw-r--r--sound/pci/oxygen/oxygen_mixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c
index fae7c0f060a0..6fd2a594e89e 100644
--- a/sound/pci/oxygen/oxygen_mixer.c
+++ b/sound/pci/oxygen/oxygen_mixer.c
@@ -121,7 +121,7 @@ static int upmix_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value)
121void oxygen_update_dac_routing(struct oxygen *chip) 121void oxygen_update_dac_routing(struct oxygen *chip)
122{ 122{
123 static const unsigned int reg_values[3] = { 123 static const unsigned int reg_values[3] = {
124 0xe100, /* front <- 0, surround <- 1, center <- 2, back <- 3 */ 124 0xe400, /* front <- 0, surround <- 1, center <- 2, back <- 3 */
125 0xe000, /* front <- 0, surround <- 0, center <- 2, back <- 3 */ 125 0xe000, /* front <- 0, surround <- 0, center <- 2, back <- 3 */
126 0x2000 /* front <- 0, surround <- 0, center <- 2, back <- 0 */ 126 0x2000 /* front <- 0, surround <- 0, center <- 2, back <- 0 */
127 }; 127 };
@@ -135,7 +135,7 @@ void oxygen_update_dac_routing(struct oxygen *chip)
135 else if (channels == OXYGEN_PLAY_CHANNELS_8) 135 else if (channels == OXYGEN_PLAY_CHANNELS_8)
136 reg_value = 0x6c00; /* surround <- 3, back <- 1 */ 136 reg_value = 0x6c00; /* surround <- 3, back <- 1 */
137 else 137 else
138 reg_value = 0xe100; 138 reg_value = 0xe400;
139 oxygen_write16_masked(chip, OXYGEN_PLAY_ROUTING, reg_value, 0xff00); 139 oxygen_write16_masked(chip, OXYGEN_PLAY_ROUTING, reg_value, 0xff00);
140} 140}
141 141