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

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Jul 15 02:23:12 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 bd7d6b5..39be2d1 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -451,7 +451,8 @@ static int selem_read(snd_mixer_elem_t *elem)
 			unsigned int idx1 = idx;
 			if (idx >= c->values)
 				idx1 = 0;
-			if (snd_ctl_elem_value_get_enumerated(ctl, idx1) != s->capture_item)
+			if (snd_ctl_elem_value_get_enumerated(ctl, idx1) !=
+								s->capture_item)
 				s->str[SM_CAPT].sw &= ~(1 << idx);
 		}
 	}
-- 
2.7.4



More information about the Alsa-devel mailing list