summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-01-07 17:41:45 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-08 19:01:17 +0100
commite31c194672c8e700483f4be6037e12d507a9e05b (patch)
treee41b39658afde8d5a1236cf7f25153d274cb2874 /sound/soc
parentASoC: arizona: Remove DSP B and left justified AIF modes (diff)
downloadlinux-e31c194672c8e700483f4be6037e12d507a9e05b.tar.xz
linux-e31c194672c8e700483f4be6037e12d507a9e05b.zip
ASoC: arizona: Disable free-running mode on FLL1
The free running mode can cause problems when attempting to bring up the FLL running from a defined clock source. This patch disables free-running mode. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/arizona.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 1d8bb5917594..c3592db994a8 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1082,6 +1082,9 @@ int arizona_init_fll(struct arizona *arizona, int id, int base, int lock_irq,
id, ret);
}
+ regmap_update_bits(arizona->regmap, fll->base + 1,
+ ARIZONA_FLL1_FREERUN, 0);
+
return 0;
}
EXPORT_SYMBOL_GPL(arizona_init_fll);