Messages in this thread Patch in this message | | | Date | Mon, 27 Aug 2007 23:29:13 +0200 | From | Adrian Bunk <> | Subject | [2.6 patch] 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>
--- 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |