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 c0b7f9d18b23e4f7365e17f9e88130da47065d7b..7fdb68ef384e04729f514d4eb3d7c3b2c9077c98 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,