[alsa-devel] [PATCH 02/29] mixer: change code formatting for elem_read_volume()

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Jul 15 02:23:06 CEST 2016


This commit applies code format according to typical and moderate rule.

Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
 src/mixer/simple_none.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 1d2112d..a90ee84 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -245,7 +245,9 @@ static int elem_read_volume(selem_none_t *s, int dir, selem_ctl_type_t type)
 		unsigned int idx1 = idx;
 		if (idx >= c->values)
 			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;
 }
-- 
2.7.4



More information about the Alsa-devel mailing list