summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-29 16:16:10 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-29 16:18:29 +0100
commit25c6fdb040e3b6057ff147e801343e60937594cb (patch)
tree2fe54f9a49f6bd04eec29fc4694f02f7dd170bd4 /sound/soc/codecs/wm_adsp.c
parentASoC: wm_adsp: Set the core enable as well as start bit for ADSP2 (diff)
downloadlinux-25c6fdb040e3b6057ff147e801343e60937594cb.tar.xz
linux-25c6fdb040e3b6057ff147e801343e60937594cb.zip
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 c0b7f9d18b23..7fdb68ef384e 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,