summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-07-15 09:23:14 +0900
committerTakashi Iwai <tiwai@suse.de>2016-07-15 08:16:32 +0200
commit32393c67ab73fc2f039427cb029823a41e7cedec (patch)
treef9b05971359f4654545cd2b885ab081ae51c9518
parent7ada2d6f41155f542438f78903ee62b0a76cc931 (diff)
downloadalsa-lib-32393c67ab73fc2f039427cb029823a41e7cedec.tar.gz
mixer: change code formatting for elem_write_volume()
This commit applies code format according to typical and moderate rule. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/mixer/simple_none.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index b32bd813..2ae4b0aa 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -475,7 +475,8 @@ static int elem_write_volume(selem_none_t *s, int dir, selem_ctl_type_t type)
if ((err = snd_hctl_elem_read(c->elem, ctl)) < 0)
return err;
for (idx = 0; idx < c->values; idx++)
- snd_ctl_elem_value_set_integer(ctl, idx, from_user(s, dir, c, s->str[dir].vol[idx]));
+ snd_ctl_elem_value_set_integer(ctl, idx,
+ from_user(s, dir, c, s->str[dir].vol[idx]));
if ((err = snd_hctl_elem_write(c->elem, ctl)) < 0)
return err;
return 0;