summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-01-07 16:41:45 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-08 18:01:17 +0000
commite31c194672c8e700483f4be6037e12d507a9e05b (patch)
treee41b39658afde8d5a1236cf7f25153d274cb2874 /sound
parentd71753e22b24548911b377db28f80870cf50d07b (diff)
downloadtalos-op-linux-e31c194672c8e700483f4be6037e12d507a9e05b.tar.gz
talos-op-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')
-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);
OpenPOWER on IntegriCloud