git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: rt5645: use logical OR
[sfrench/cifs-2.6.git]
/
sound
/
soc
/
codecs
/
rt5645.c
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index 63a7e052eaa03f633d700708c6933931ec061c27..4db6cd70e32b532fd343f6d54567a4624360df5c 100644
(file)
--- a/
sound/soc/codecs/rt5645.c
+++ b/
sound/soc/codecs/rt5645.c
@@
-690,7
+690,7
@@
static int rt5645_hweq_get(struct snd_kcontrol *kcontrol,
static bool rt5645_validate_hweq(unsigned short reg)
{
- if ((reg >= 0x1a4 && reg <= 0x1cd) |
(reg >= 0x1e5 && reg <= 0x1f8)
|
+ if ((reg >= 0x1a4 && reg <= 0x1cd) |
| (reg >= 0x1e5 && reg <= 0x1f8) |
|
(reg == RT5645_EQ_CTRL2))
return true;