projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] use the ALIGN macro
[powerpc.git]
/
sound
/
isa
/
wavefront
/
wavefront_synth.c
diff --git
a/sound/isa/wavefront/wavefront_synth.c
b/sound/isa/wavefront/wavefront_synth.c
index
bed329e
..
78020d8
100644
(file)
--- a/
sound/isa/wavefront/wavefront_synth.c
+++ b/
sound/isa/wavefront/wavefront_synth.c
@@
-1068,7
+1068,7
@@
wavefront_send_sample (snd_wavefront_t *dev,
blocksize = max_blksize;
} else {
/* round to nearest 16-byte value */
- blocksize =
((length-written+7)&~0x7
);
+ blocksize =
ALIGN(length - written, 8
);
}
if (snd_wavefront_cmd (dev, WFC_DOWNLOAD_BLOCK, NULL, NULL)) {