git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Dreamcast AICA sound - Get rid of annoying compiler warning
[pandora-kernel.git]
/
sound
/
sh
/
aica.c
diff --git
a/sound/sh/aica.c
b/sound/sh/aica.c
index
88dc840
..
8861d2f
100644
(file)
--- a/
sound/sh/aica.c
+++ b/
sound/sh/aica.c
@@
-237,6
+237,7
@@
static int aica_dma_transfer(int channels, int buffer_size,
struct snd_card_aica *dreamcastcard;
struct snd_pcm_runtime *runtime;
unsigned long flags;
+ err = 0;
dreamcastcard = substream->pcm->private_data;
period_offset = dreamcastcard->clicks;
period_offset %= (AICA_PERIOD_NUMBER / channels);