aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-07-09 17:41:46 +0100
committerMark Brown <broonie@linaro.org>2014-07-10 12:09:15 +0200
commit613124ce644c38857ef5780a96e6d400d6b11abd (patch)
tree082fd483627188a07a8fad87e39f6af75408fe6f /sound/soc/codecs/arizona.c
parentASoC: arizona: Correct relationship between VCO corner and Fref (diff)
downloadlinux-dev-613124ce644c38857ef5780a96e6d400d6b11abd.tar.xz
linux-dev-613124ce644c38857ef5780a96e6d400d6b11abd.zip
ASoC: arizona: Coding standards, remove unneeded brackets
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r--sound/soc/codecs/arizona.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 6084af76f337..0a417e8bcadd 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1868,11 +1868,10 @@ int arizona_set_fll(struct arizona_fll *fll, int source,
fll->sync_freq = Fref;
fll->fout = Fout;
- if (Fout) {
+ if (Fout)
arizona_enable_fll(fll);
- } else {
+ else
arizona_disable_fll(fll);
- }
return 0;
}