aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-29 15:16:10 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-29 15:18:29 +0000
commit25c6fdb040e3b6057ff147e801343e60937594cb (patch)
tree2fe54f9a49f6bd04eec29fc4694f02f7dd170bd4 /sound/soc/codecs/wm_adsp.c
parenta7f9be7ec5503166164ee4a037d6d497964ccdb6 (diff)
ASoC: arizona: Add parentheses
Some compiler versions complain. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index c0b7f9d18b2..7fdb68ef384 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -553,7 +553,7 @@ int wm_adsp2_event(struct snd_soc_dapm_widget *w,
return ret;
}
- if (val & ADSP2_CLK_SEL_MASK >= 3) {
+ if ((val & ADSP2_CLK_SEL_MASK) >= 3) {
ret = regulator_enable(dsp->dvfs);
if (ret != 0) {
dev_err(dsp->dev,