OSDN Git Service

ASoC: rt5668: fix incorrect 'and' operator
authorColin Ian King <colin.king@canonical.com>
Thu, 19 Apr 2018 14:34:31 +0000 (15:34 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 19 Apr 2018 14:40:01 +0000 (15:40 +0100)
commit4bb3f73a2da740e38f2e418bd0c468826046687a
tree35d3328e794b6806cf7507ef0cbf5cadb4208cdc
parented55fe24d7cb6fdc391ab808f22f163bd28928be
ASoC: rt5668: fix incorrect 'and' operator

Currently logical and is being used instead of bitwise and. Fix this.

Detected by CoverityScan, CID#1468008 ("Logical vs bitwise operator")

Fixes: d59fb2856223 ("ASoC: rt5668: add rt5668B codec driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5668.c