projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdebf7
)
ALSA: msnd: add some missing curly braces
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 5 Mar 2015 11:26:37 +0000
(14:26 +0300)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 5 Mar 2015 12:02:10 +0000
(13:02 +0100)
There were some curly braces intended here.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/msnd/msnd_pinnacle_mixer.c
patch
|
blob
|
history
diff --git
a/sound/isa/msnd/msnd_pinnacle_mixer.c
b/sound/isa/msnd/msnd_pinnacle_mixer.c
index 17e49a071af4497e5f39e0341cdee1db229cbc59..b408540798c1648d04a4ec1c36086844326affe1 100644
(file)
--- a/
sound/isa/msnd/msnd_pinnacle_mixer.c
+++ b/
sound/isa/msnd/msnd_pinnacle_mixer.c
@@
-306,11
+306,12
@@
int snd_msndmix_new(struct snd_card *card)
spin_lock_init(&chip->mixer_lock);
strcpy(card->mixername, "MSND Pinnacle Mixer");
- for (idx = 0; idx < ARRAY_SIZE(snd_msnd_controls); idx++)
+ for (idx = 0; idx < ARRAY_SIZE(snd_msnd_controls); idx++)
{
err = snd_ctl_add(card,
snd_ctl_new1(snd_msnd_controls + idx, chip));
if (err < 0)
return err;
+ }
return 0;
}