Skip to contentSkip to conversation

au88x0_synth.c bugfix

PATCH New Adrian Bunk 1 participant 1 message Aug 27, 2007 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 au88x0_synth.c bugfix

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

---
71ccb57f36553decc9cae117f3ff6dff1658c91f

sound/pci/au88x0/au88x0_synth.c +2 -2
index d3e662a..978b856 100644
@@ -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;