All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: tiwai@suse.de, perex@perex.cz
Cc: alsa-devel@alsa-project.org
Subject: [PATCH 04/29] mixer: change code formatting for elem_read_route()
Date: Fri, 15 Jul 2016 09:23:08 +0900	[thread overview]
Message-ID: <1468542213-24880-5-git-send-email-o-takashi@sakamocchi.jp> (raw)
In-Reply-To: <1468542213-24880-1-git-send-email-o-takashi@sakamocchi.jp>

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

Signed-off-by: Takashi Sakamoto <o-takashi@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

  parent reply	other threads:[~2016-07-15  0:23 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15  0:23 [alsa-lib][PATCH 00/29] mixer: replace usage of alloca() with automatic variables Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 01/29] mixer: include library local header to find layout of structures Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 02/29] mixer: change code formatting for elem_read_volume() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 03/29] mixer: remove alloca() from elem_read_volume() Takashi Sakamoto
2016-07-15  0:23 ` Takashi Sakamoto [this message]
2016-07-15  0:23 ` [PATCH 05/29] mixer: remove alloca() from elem_read_route() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 06/29] mixer: change code formatting for elem_read_enum() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 07/29] mixer: remove alloca() from elem_read_enum() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 08/29] mixer: change code formatting for selem_read() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 09/29] mixer: remove alloca() from selem_read() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 10/29] mixer: change code formatting for elem_write_volume() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 11/29] mixer: remove alloca() from elem_write_volume() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 12/29] mixer: change code formatting for elem_write_switch() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 13/29] mixer: remove alloca() from elem_write_switch() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 14/29] mixer: remove alloca() from elem_write_switch_constant() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 15/29] mixer: change code formatting for elem_write_enum() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 16/29] mixer: remove alloca() from elem_write_enum() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 17/29] mixer: change code formatting for elem_write_route() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 18/29] mixer: remove alloca() from elem_write_route() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 19/29] mixer: change code formatting for selem_write_main() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 20/29] mixer: remove alloca() from selem_write_main() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 21/29] mixer: change code formatting for init_db_range() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 22/29] mixer: remove alloca() from init_db_range() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 23/29] mixer: remove alloca() from enum_item_name_ops() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 24/29] mixer: remove alloca() from get_enum_item_ops() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 25/29] mixer: remove alloca() from set_enum_item_ops() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 26/29] mixer: change code formatting for simple_add1() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 27/29] mixer: remove alloca() from simple_add1() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 28/29] mixer: change code formatting for simple_event_add() Takashi Sakamoto
2016-07-15  0:23 ` [PATCH 29/29] mixer: remove alloca() from simple_event_add() Takashi Sakamoto
2016-07-15  6:20 ` [alsa-lib][PATCH 00/29] mixer: replace usage of alloca() with automatic variables Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468542213-24880-5-git-send-email-o-takashi@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.