diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-09-10 17:15:50 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 10:49:23 -0400 |
commit | 51c80cb65ff9b7bdf172f9075138793c2bce6883 (patch) | |
tree | f4b3ebd75ea7be710bb3cf19ee2a866c1efede79 /sound/pci/au88x0 | |
parent | 3304cd361025e4d3fdad1971c93ddc05995a5d3a (diff) |
[ALSA] au88x0_synth.c bugfix
This patch fixes the code in vortex_wt_SetFrequency() to what seems to
have been intended.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/au88x0')
-rw-r--r-- | sound/pci/au88x0/au88x0_synth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/au88x0/au88x0_synth.c b/sound/pci/au88x0/au88x0_synth.c index d3e662a1285d..978b856f5621 100644 --- a/sound/pci/au88x0/au88x0_synth.c +++ b/sound/pci/au88x0/au88x0_synth.c | |||
@@ -370,8 +370,8 @@ static void vortex_wt_SetFrequency(vortex_t * vortex, int wt, unsigned int sr) | |||
370 | while ((edx & 0x80000000) == 0) { | 370 | while ((edx & 0x80000000) == 0) { |
371 | edx <<= 1; | 371 | edx <<= 1; |
372 | eax--; | 372 | eax--; |
373 | if (eax == 0) ; | 373 | if (eax == 0) |
374 | break; | 374 | break; |
375 | } | 375 | } |
376 | if (eax) | 376 | if (eax) |
377 | edx <<= 1; | 377 | edx <<= 1; |