All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org,
	Support Opensource <support.opensource@diasemi.com>,
	"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
	linux-kernel@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
	Takashi Iwai <tiwai@suse.com>, Mark Brown <broonie@kernel.org>
Subject: Applied "ASoC: da7213: use true and false for boolean values" to the asoc tree
Date: Mon,  6 Aug 2018 12:41:36 +0100 (BST)	[thread overview]
Message-ID: <20180806114136.993FC1124240@debutante.sirena.org.uk> (raw)
In-Reply-To: <054adeac54eba2831e2433d71f385841034faf52.1533418275.git.gustavo@embeddedor.com>

The patch

   ASoC: da7213: use true and false for boolean values

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 1752a35acd8e837463fb7b7d9492b18e2a2ed5e3 Mon Sep 17 00:00:00 2001
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Date: Sat, 4 Aug 2018 16:54:10 -0500
Subject: [PATCH] ASoC: da7213: use true and false for boolean values

Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/da7213.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/da7213.c b/sound/soc/codecs/da7213.c
index 54cb5f24969f..92d006a5283e 100644
--- a/sound/soc/codecs/da7213.c
+++ b/sound/soc/codecs/da7213.c
@@ -1140,9 +1140,9 @@ static bool da7213_volatile_register(struct device *dev, unsigned int reg)
 	case DA7213_ALC_OFFSET_AUTO_M_R:
 	case DA7213_ALC_OFFSET_AUTO_U_R:
 	case DA7213_ALC_CIC_OP_LVL_DATA:
-		return 1;
+		return true;
 	default:
-		return 0;
+		return false;
 	}
 }
 
-- 
2.18.0

  reply	other threads:[~2018-08-06 11:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-04 21:48 [PATCH 00/12] ASoC: codecs: use true and false for boolean values Gustavo A. R. Silva
2018-08-04 21:49 ` [PATCH 01/12] ASoC: max9850: " Gustavo A. R. Silva
2018-08-06 11:43   ` Applied "ASoC: max9850: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:49 ` [PATCH 02/12] ASoC: rt5631: use true and false for boolean values Gustavo A. R. Silva
2018-08-06 11:43   ` Applied "ASoC: rt5631: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:50 ` [PATCH 03/12] ASoC: tda7419: use true and false for boolean values Gustavo A. R. Silva
2018-08-04 21:51 ` [PATCH 04/12] ASoC: wm8990: " Gustavo A. R. Silva
2018-08-06  9:41   ` Charles Keepax
2018-08-06  9:41     ` Charles Keepax
2018-08-06 11:42   ` Applied "ASoC: wm8990: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:52 ` [PATCH 05/12] ASoC: cs4270: use true and false for boolean values Gustavo A. R. Silva
2018-08-06 11:42   ` Applied "ASoC: cs4270: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:52 ` [PATCH 06/12] ASoC: wm8996: use true and false for boolean values Gustavo A. R. Silva
2018-08-06  9:41   ` Charles Keepax
2018-08-06  9:41     ` Charles Keepax
2018-08-06 11:42   ` Applied "ASoC: wm8996: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:53 ` [PATCH 07/12] ASoC: da7219: use true and false for boolean values Gustavo A. R. Silva
2018-08-06 11:41   ` Applied "ASoC: da7219: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:53 ` [PATCH 08/12] ASoC: twl6040: use true and false for boolean values Gustavo A. R. Silva
2018-08-06 11:41   ` Applied "ASoC: twl6040: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:54 ` [PATCH 09/12] ASoC: da7213: use true and false for boolean values Gustavo A. R. Silva
2018-08-06 11:41   ` Mark Brown [this message]
2018-08-04 21:54 ` [PATCH 10/12] ASoC: wm5100-tables: " Gustavo A. R. Silva
2018-08-06  9:42   ` Charles Keepax
2018-08-06  9:42     ` Charles Keepax
2018-08-04 21:55 ` [PATCH 11/12] ASoC: da9055: " Gustavo A. R. Silva
2018-08-06 11:40   ` Applied "ASoC: da9055: use true and false for boolean values" to the asoc tree Mark Brown
2018-08-04 21:56 ` [PATCH 12/12] ASoC: wm8903: use true and false for boolean values Gustavo A. R. Silva
2018-08-06  9:42   ` Charles Keepax
2018-08-06  9:42     ` Charles Keepax
2018-08-06 11:40   ` Applied "ASoC: wm8903: use true and false for boolean values" to the asoc tree Mark Brown

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=20180806114136.993FC1124240@debutante.sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=gustavo@embeddedor.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=support.opensource@diasemi.com \
    --cc=tiwai@suse.com \
    /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.