projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: synth: Fix assignment in if condition
[linux-2.6-microblaze.git]
/
sound
/
synth
/
emux
/
emux.c
diff --git
a/sound/synth/emux/emux.c
b/sound/synth/emux/emux.c
index
f65e6c7
..
49d1976
100644
(file)
--- a/
sound/synth/emux/emux.c
+++ b/
sound/synth/emux/emux.c
@@
-104,7
+104,8
@@
int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, ch
if (emu->sflist == NULL)
return -ENOMEM;
- if ((err = snd_emux_init_hwdep(emu)) < 0)
+ err = snd_emux_init_hwdep(emu);
+ if (err < 0)
return err;
snd_emux_init_voices(emu);