This patch fixes the code in vortex_wt_SetFrequency() to what seems to 
have been intended.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---
71ccb57f36553decc9cae117f3ff6dff1658c91f 
diff --git a/sound/pci/au88x0/au88x0_synth.c b/sound/pci/au88x0/au88x0_synth.c
index d3e662a..978b856 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)
                        while ((edx & 0x80000000) == 0) {
                                edx <<= 1;
                                eax--;
-                               if (eax == 0) ;
-                               break;
+                               if (eax == 0)
+                                       break;
                        }
                        if (eax)
                                edx <<= 1;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to