* [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression
@ 2015-10-24 6:28 Axel Lin
2015-10-28 0:22 ` Applied "ASoC: da7219: Use logical instead of bitwise OR for boolean expression" to the asoc tree Mark Brown
2015-11-02 11:14 ` [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression Opensource [Adam Thomson]
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2015-10-24 6:28 UTC (permalink / raw)
To: Mark Brown; +Cc: Adam Thomson, Support Opensource, alsa-devel, Liam Girdwood
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/codecs/da7219.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
index abba4b3..86c528a 100644
--- a/sound/soc/codecs/da7219.c
+++ b/sound/soc/codecs/da7219.c
@@ -1306,7 +1306,7 @@ static int da7219_hw_params(struct snd_pcm_substream *substream,
}
channels = params_channels(params);
- if ((channels < 1) | (channels > DA7219_DAI_CH_NUM_MAX)) {
+ if ((channels < 1) || (channels > DA7219_DAI_CH_NUM_MAX)) {
dev_err(codec->dev,
"Invalid number of channels, only 1 to %d supported\n",
DA7219_DAI_CH_NUM_MAX);
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Applied "ASoC: da7219: Use logical instead of bitwise OR for boolean expression" to the asoc tree
2015-10-24 6:28 [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression Axel Lin
@ 2015-10-28 0:22 ` Mark Brown
2015-11-02 11:14 ` [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression Opensource [Adam Thomson]
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2015-10-28 0:22 UTC (permalink / raw)
To: Axel Lin, Mark Brown; +Cc: alsa-devel
The patch
ASoC: da7219: Use logical instead of bitwise OR for boolean expression
has been applied to the asoc tree at
git://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 6b26f6172b77734386dbd728163d14165a2d89bf Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Sat, 24 Oct 2015 14:28:33 +0800
Subject: [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean
expression
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/da7219.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
index f238c1e..e36a7b7 100644
--- a/sound/soc/codecs/da7219.c
+++ b/sound/soc/codecs/da7219.c
@@ -1306,7 +1306,7 @@ static int da7219_hw_params(struct snd_pcm_substream *substream,
}
channels = params_channels(params);
- if ((channels < 1) | (channels > DA7219_DAI_CH_NUM_MAX)) {
+ if ((channels < 1) || (channels > DA7219_DAI_CH_NUM_MAX)) {
dev_err(codec->dev,
"Invalid number of channels, only 1 to %d supported\n",
DA7219_DAI_CH_NUM_MAX);
--
2.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression
2015-10-24 6:28 [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression Axel Lin
2015-10-28 0:22 ` Applied "ASoC: da7219: Use logical instead of bitwise OR for boolean expression" to the asoc tree Mark Brown
@ 2015-11-02 11:14 ` Opensource [Adam Thomson]
1 sibling, 0 replies; 3+ messages in thread
From: Opensource [Adam Thomson] @ 2015-11-02 11:14 UTC (permalink / raw)
To: Axel Lin, Mark Brown
Cc: Opensource [Adam Thomson], Support Opensource,
alsa-devel@alsa-project.org, Liam Girdwood
On October 24, 2015 07:29, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> sound/soc/codecs/da7219.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
> index abba4b3..86c528a 100644
> --- a/sound/soc/codecs/da7219.c
> +++ b/sound/soc/codecs/da7219.c
> @@ -1306,7 +1306,7 @@ static int da7219_hw_params(struct snd_pcm_substream
> *substream,
> }
>
> channels = params_channels(params);
> - if ((channels < 1) | (channels > DA7219_DAI_CH_NUM_MAX)) {
> + if ((channels < 1) || (channels > DA7219_DAI_CH_NUM_MAX)) {
> dev_err(codec->dev,
> "Invalid number of channels, only 1 to %d supported\n",
> DA7219_DAI_CH_NUM_MAX);
> --
> 2.1.4
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-02 11:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-24 6:28 [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression Axel Lin
2015-10-28 0:22 ` Applied "ASoC: da7219: Use logical instead of bitwise OR for boolean expression" to the asoc tree Mark Brown
2015-11-02 11:14 ` [PATCH] ASoC: da7219: Use logical instead of bitwise OR for boolean expression Opensource [Adam Thomson]
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.