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

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Jul 15 02:23:08 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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 0f23a06..65b7b7b 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -282,7 +282,8 @@ static int elem_read_route(selem_none_t *s, int dir, selem_ctl_type_t type)
 		unsigned int idx1 = idx;
 		if (idx >= c->values)
 			idx1 = 0;
-		if (!snd_ctl_elem_value_get_integer(ctl, idx1 * c->values + idx1))
+		if (!snd_ctl_elem_value_get_integer(ctl,
+						    idx1 * c->values + idx1))
 			s->str[dir].sw &= ~(1 << idx);
 	}
 	return 0;
-- 
2.7.4



More information about the Alsa-devel mailing list