[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>
This commit is contained in:
parent
387fb6a206
commit
80060ecc45
|
@ -229,8 +229,9 @@ static void xonar_dx_init(struct oxygen *chip)
|
||||||
data->ext_power_int_reg = OXYGEN_GPI_INTERRUPT_MASK;
|
data->ext_power_int_reg = OXYGEN_GPI_INTERRUPT_MASK;
|
||||||
data->ext_power_bit = GPI_DX_EXT_POWER;
|
data->ext_power_bit = GPI_DX_EXT_POWER;
|
||||||
|
|
||||||
/* XXX the DACs' datasheets say fast mode is not allowed */
|
oxygen_write16(chip, OXYGEN_2WIRE_BUS_STATUS,
|
||||||
oxygen_set_bits16(chip, OXYGEN_2WIRE_BUS_STATUS,
|
OXYGEN_2WIRE_LENGTH_8 |
|
||||||
|
OXYGEN_2WIRE_INTERRUPT_MASK |
|
||||||
OXYGEN_2WIRE_SPEED_FAST);
|
OXYGEN_2WIRE_SPEED_FAST);
|
||||||
|
|
||||||
/* set CPEN (control port mode) and power down */
|
/* set CPEN (control port mode) and power down */
|
||||||
|
|
Loading…
Reference in a new issue