mixer: change code formatting for elem_read_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>
This commit is contained in:
Takashi Sakamoto 2016-07-15 09:23:06 +09:00 committed by Takashi Iwai
parent 9e1c73cdd4
commit bc08a11eda

View file

@ -245,7 +245,9 @@ static int elem_read_volume(selem_none_t *s, int dir, selem_ctl_type_t type)
unsigned int idx1 = idx; unsigned int idx1 = idx;
if (idx >= c->values) if (idx >= c->values)
idx1 = 0; idx1 = 0;
s->str[dir].vol[idx] = to_user(s, dir, c, snd_ctl_elem_value_get_integer(ctl, idx1)); s->str[dir].vol[idx] =
to_user(s, dir, c,
snd_ctl_elem_value_get_integer(ctl, idx1));
} }
return 0; return 0;
} }