diff options
author | Karsten Wiese <fzu@wemgehoertderstaat.de> | 2008-04-22 06:53:12 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:40 -0400 |
commit | 8a87c9cf999542db846c3ab93c1065d446427f37 (patch) | |
tree | db5b1aa3df8189650a93abfabcb3038ee722b3de /sound/pci/ice1712 | |
parent | 775c199e6af5e4212bfa7ebeadee09563c14694b (diff) |
[ALSA] Audiophile 192: Fix ad converter initialization
Correct some arguments in calls to snd_ice1712_gpio_write_bits() from
ap192_set_rate_val().
Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/revo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index dba93d8efbe0..4d2631434dc8 100644 --- a/sound/pci/ice1712/revo.c +++ b/sound/pci/ice1712/revo.c | |||
@@ -327,7 +327,7 @@ static void ap192_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) | |||
327 | revo_set_rate_val(ak, rate); | 327 | revo_set_rate_val(ak, rate); |
328 | 328 | ||
329 | /* reset CKS */ | 329 | /* reset CKS */ |
330 | snd_ice1712_gpio_write_bits(ice, 1 << 8, rate > 96000 ? 1 : 0); | 330 | snd_ice1712_gpio_write_bits(ice, 1 << 8, rate > 96000 ? 1 << 8 : 0); |
331 | /* reset DFS pins of AK5385A for ADC, too */ | 331 | /* reset DFS pins of AK5385A for ADC, too */ |
332 | if (rate > 96000) | 332 | if (rate > 96000) |
333 | dfs = 2; | 333 | dfs = 2; |
@@ -338,7 +338,7 @@ static void ap192_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) | |||
338 | snd_ice1712_gpio_write_bits(ice, 3 << 9, dfs << 9); | 338 | snd_ice1712_gpio_write_bits(ice, 3 << 9, dfs << 9); |
339 | /* reset ADC */ | 339 | /* reset ADC */ |
340 | snd_ice1712_gpio_write_bits(ice, 1 << 11, 0); | 340 | snd_ice1712_gpio_write_bits(ice, 1 << 11, 0); |
341 | snd_ice1712_gpio_write_bits(ice, 1 << 11, 1); | 341 | snd_ice1712_gpio_write_bits(ice, 1 << 11, 1 << 11); |
342 | } | 342 | } |
343 | 343 | ||
344 | static const struct snd_akm4xxx_dac_channel ap192_dac[] = { | 344 | static const struct snd_akm4xxx_dac_channel ap192_dac[] = { |