summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/da7218.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-09-27 00:45:07 +0200
committerMark Brown <broonie@kernel.org>2016-09-27 18:49:13 +0200
commita56a569818ea831ed2325dc5d1122dc0b8a229d0 (patch)
tree35e9302a24accf3ba1f87cfa588f41f0c583c9bf /sound/soc/codecs/da7218.c
parentASoC: da7219: Disable AAD if codec is not a wake-up source (diff)
downloadlinux-a56a569818ea831ed2325dc5d1122dc0b8a229d0.tar.xz
linux-a56a569818ea831ed2325dc5d1122dc0b8a229d0.zip
ASoC: da7219: fix inappropriate condition statement
Sparse reports a below warning. sound/soc/codecs/da7219.c:804:57: warning: dubious: x & !y The line includes a condition statement; '(a < b) & !c'. Practically, the evaluated value of this statement equals to the value of '(a < b) && !c'. Although, it's not an usual way to use bitwise operations as logical operations to several conditions. This commit fixes the bug. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da7218.c')
0 files changed, 0 insertions, 0 deletions