projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8005c49
)
ASoC: da7219: Use logical instead of bitwise OR for boolean expression
author
Axel Lin
<axel.lin@ingics.com>
Sat, 24 Oct 2015 06:28:33 +0000
(14:28 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 16 Nov 2015 10:01:16 +0000
(10:01 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/da7219.c
b/sound/soc/codecs/da7219.c
index f238c1e8a69c16e92649b878edfe07b772c8cd59..e36a7b79b49490c95f897bc921a504aafa4aa730 100644
(file)
--- 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);