提交 51c80cb6 编写于 作者: A Adrian Bunk 提交者: Jaroslav Kysela

[ALSA] au88x0_synth.c bugfix

This patch fixes the code in vortex_wt_SetFrequency() to what seems to
have been intended.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 3304cd36
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册