summaryrefslogtreecommitdiff
path: root/src/mixer
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-07-15 09:23:16 +0900
committerTakashi Iwai <tiwai@suse.de>2016-07-15 08:16:33 +0200
commit2011f04e090abd552c6a1e6e909c80f770be59bc (patch)
tree02efd6b9378db61ef7d08fc0fea8f1734509a7d5 /src/mixer
parent1c11f334e7707f2d8e1dc95c0549c3c21282911d (diff)
downloadalsa-lib-2011f04e090abd552c6a1e6e909c80f770be59bc.tar.gz
mixer: change code formatting for elem_write_switch()
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>
Diffstat (limited to 'src/mixer')
-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 ee9f84a9..d0e800e6 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -491,7 +491,8 @@ static int elem_write_switch(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, !!(s->str[dir].sw & (1 << idx)));
+ snd_ctl_elem_value_set_integer(ctl, idx,
+ !!(s->str[dir].sw & (1 << idx)));
if ((err = snd_hctl_elem_write(c->elem, ctl)) < 0)
return err;
return 0;