projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3304cd3
)
[ALSA] au88x0_synth.c bugfix
author
Adrian Bunk
<bunk@kernel.org>
Mon, 10 Sep 2007 21:15:50 +0000
(23:15 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 16 Oct 2007 14:49:23 +0000
(16:49 +0200)
This patch fixes the code in vortex_wt_SetFrequency() to what seems to
have been intended.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/au88x0/au88x0_synth.c
patch
|
blob
|
history
diff --git
a/sound/pci/au88x0/au88x0_synth.c
b/sound/pci/au88x0/au88x0_synth.c
index
d3e662a
..
978b856
100644
(file)
--- 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;