ASoC: da7213: Fix incorrect usage of bitwise '&' operator for SRM check
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Wed, 3 May 2017 15:15:53 +0000 (16:15 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 14 May 2017 09:53:37 +0000 (18:53 +0900)
commit14f814fbedd749992476bb365b454b2170b3b225
tree5bd161f4aac3082a0e64ac7a77aba9b331c49eb3
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ASoC: da7213: Fix incorrect usage of bitwise '&' operator for SRM check

In the SRM lock check section of code the '&' bitwise operator is
used as part of checking lock status. Functionally the code works
as intended, but the conditional statement is a boolean comparison
so should really use '&&' logical operator instead. This commit
rectifies this discrepancy.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7213.c