Commit d737f3ee authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai

ALSA: virtuoso: fix Xonar STX anti-pop delay

The anti-pop delay for the STX should be 800 ms, not 100 ms like the ST.
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2b830bae
...@@ -374,7 +374,6 @@ static void xonar_st_init_common(struct oxygen *chip) ...@@ -374,7 +374,6 @@ static void xonar_st_init_common(struct oxygen *chip)
{ {
struct xonar_pcm179x *data = chip->model_data; struct xonar_pcm179x *data = chip->model_data;
data->generic.anti_pop_delay = 100;
data->generic.output_enable_bit = GPIO_ST_OUTPUT_ENABLE; data->generic.output_enable_bit = GPIO_ST_OUTPUT_ENABLE;
data->dacs = chip->model.private_data ? 4 : 1; data->dacs = chip->model.private_data ? 4 : 1;
data->hp_gain_offset = 2*-18; data->hp_gain_offset = 2*-18;
...@@ -420,6 +419,7 @@ static void xonar_st_init(struct oxygen *chip) ...@@ -420,6 +419,7 @@ static void xonar_st_init(struct oxygen *chip)
{ {
struct xonar_pcm179x *data = chip->model_data; struct xonar_pcm179x *data = chip->model_data;
data->generic.anti_pop_delay = 100;
data->has_cs2000 = 1; data->has_cs2000 = 1;
data->cs2000_fun_cfg_1 = CS2000_REF_CLK_DIV_1; data->cs2000_fun_cfg_1 = CS2000_REF_CLK_DIV_1;
...@@ -440,6 +440,7 @@ static void xonar_stx_init(struct oxygen *chip) ...@@ -440,6 +440,7 @@ static void xonar_stx_init(struct oxygen *chip)
struct xonar_pcm179x *data = chip->model_data; struct xonar_pcm179x *data = chip->model_data;
xonar_st_init_i2c(chip); xonar_st_init_i2c(chip);
data->generic.anti_pop_delay = 800;
data->generic.ext_power_reg = OXYGEN_GPI_DATA; data->generic.ext_power_reg = OXYGEN_GPI_DATA;
data->generic.ext_power_int_reg = OXYGEN_GPI_INTERRUPT_MASK; data->generic.ext_power_int_reg = OXYGEN_GPI_INTERRUPT_MASK;
data->generic.ext_power_bit = GPI_EXT_POWER; data->generic.ext_power_bit = GPI_EXT_POWER;
......
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