]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[ALSA] au88x0_synth.c bugfix
authorAdrian Bunk <bunk@kernel.org>
Mon, 10 Sep 2007 21:15:50 +0000 (23:15 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:49:23 +0000 (16:49 +0200)
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>
sound/pci/au88x0/au88x0_synth.c

index d3e662a1285ddd526cc8fccd674054967565ea71..978b856f5621aafd04b39f1d51880af44dce1a90 100644 (file)
@@ -370,8 +370,8 @@ static void vortex_wt_SetFrequency(vortex_t * vortex, int wt, unsigned int sr)
                        while ((edx & 0x80000000) == 0) {
                                edx <<= 1;
                                eax--;
-                               if (eax == 0) ;
-                               break;
+                               if (eax == 0)
+                                       break;
                        }
                        if (eax)
                                edx <<= 1;