aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-04-11 04:25:40 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:32 -0400
commit80060ecc45bd101f3decafed5b7ff0879a188d28 (patch)
treed5b6c8bccb9ce50a02c64caa7bbfcfbd03cca4bb /sound
parent387fb6a206749e13377ef8847f77d5341c281e7b (diff)
[ALSA] virtuoso: initialize two-wire control register
On the Xonar DX, initialize all bits of the two-wire control register. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/oxygen/virtuoso.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c
index 53d7289f21c0..c7080d6b71c2 100644
--- a/sound/pci/oxygen/virtuoso.c
+++ b/sound/pci/oxygen/virtuoso.c
@@ -229,9 +229,10 @@ static void xonar_dx_init(struct oxygen *chip)
229 data->ext_power_int_reg = OXYGEN_GPI_INTERRUPT_MASK; 229 data->ext_power_int_reg = OXYGEN_GPI_INTERRUPT_MASK;
230 data->ext_power_bit = GPI_DX_EXT_POWER; 230 data->ext_power_bit = GPI_DX_EXT_POWER;
231 231
232 /* XXX the DACs' datasheets say fast mode is not allowed */ 232 oxygen_write16(chip, OXYGEN_2WIRE_BUS_STATUS,
233 oxygen_set_bits16(chip, OXYGEN_2WIRE_BUS_STATUS, 233 OXYGEN_2WIRE_LENGTH_8 |
234 OXYGEN_2WIRE_SPEED_FAST); 234 OXYGEN_2WIRE_INTERRUPT_MASK |
235 OXYGEN_2WIRE_SPEED_FAST);
235 236
236 /* set CPEN (control port mode) and power down */ 237 /* set CPEN (control port mode) and power down */
237 cs4398_write(chip, 8, CS4398_CPEN | CS4398_PDN); 238 cs4398_write(chip, 8, CS4398_CPEN | CS4398_PDN);