public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] au88x0_synth.c bugfix
@ 2007-08-27 21:29 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-08-27 21:29 UTC (permalink / raw)
  To: perex; +Cc: linux-kernel

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-27 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 21:29 [2.6 patch] au88x0_synth.c bugfix Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox