ASoC: arizona: Add parentheses
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Nov 2012 15:16:10 +0000 (15:16 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Nov 2012 15:18:29 +0000 (15:18 +0000)
Some compiler versions complain.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm_adsp.c

index c0b7f9d..7fdb68e 100644 (file)
@@ -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,