Skip to content

Commit

Permalink
ASoC: arizona: Add parentheses
Browse files Browse the repository at this point in the history
Some compiler versions complain.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Nov 29, 2012
1 parent a7f9be7 commit 25c6fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm_adsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 25c6fdb

Please sign in to comment.