aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-01-10 10:01:57 -0500
committerTakashi Iwai <tiwai@suse.de>2011-01-10 10:46:03 -0500
commit4106055cedea86596391f36deacd05616333fbb3 (patch)
treebd2897ce0ac4409ad7bb18114e8320963e3852dc /sound/pci/oxygen
parent5ea310ff8d651246cf001ebc894d2f294123328a (diff)
ALSA: virtuoso: do not use fast I2C speed
To make the I2C communication reliable when using the H6 daughterboard, reduce the I2C clock frequency. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen')
-rw-r--r--sound/pci/oxygen/xonar_pcm179x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/oxygen/xonar_pcm179x.c b/sound/pci/oxygen/xonar_pcm179x.c
index 5ec8be3bf7c7..49898d39f875 100644
--- a/sound/pci/oxygen/xonar_pcm179x.c
+++ b/sound/pci/oxygen/xonar_pcm179x.c
@@ -374,7 +374,7 @@ static void xonar_hdav_init(struct oxygen *chip)
374 oxygen_write16(chip, OXYGEN_2WIRE_BUS_STATUS, 374 oxygen_write16(chip, OXYGEN_2WIRE_BUS_STATUS,
375 OXYGEN_2WIRE_LENGTH_8 | 375 OXYGEN_2WIRE_LENGTH_8 |
376 OXYGEN_2WIRE_INTERRUPT_MASK | 376 OXYGEN_2WIRE_INTERRUPT_MASK |
377 OXYGEN_2WIRE_SPEED_FAST); 377 OXYGEN_2WIRE_SPEED_STANDARD);
378 378
379 data->pcm179x.generic.anti_pop_delay = 100; 379 data->pcm179x.generic.anti_pop_delay = 100;
380 data->pcm179x.generic.output_enable_bit = GPIO_HDAV_OUTPUT_ENABLE; 380 data->pcm179x.generic.output_enable_bit = GPIO_HDAV_OUTPUT_ENABLE;
@@ -403,7 +403,7 @@ static void xonar_st_init_i2c(struct oxygen *chip)
403 oxygen_write16(chip, OXYGEN_2WIRE_BUS_STATUS, 403 oxygen_write16(chip, OXYGEN_2WIRE_BUS_STATUS,
404 OXYGEN_2WIRE_LENGTH_8 | 404 OXYGEN_2WIRE_LENGTH_8 |
405 OXYGEN_2WIRE_INTERRUPT_MASK | 405 OXYGEN_2WIRE_INTERRUPT_MASK |
406 OXYGEN_2WIRE_SPEED_FAST); 406 OXYGEN_2WIRE_SPEED_STANDARD);
407} 407}
408 408
409static void xonar_st_init_common(struct oxygen *chip) 409static void xonar_st_init_common(struct oxygen *chip)