]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: Ensure we delay long enough for WM8994 FLL to lock
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 2 Jul 2011 00:24:46 +0000 (17:24 -0700)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:55:04 +0000 (13:55 -0700)
[ upstream commit 8e9ddf811ba021506d2316fcfe619faa0ab3f567 ]
 when starting

This delay is very conservative.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Cc: stable@kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
sound/soc/codecs/wm8994.c

index e84a1177f350403a39bb8ac701a5437979ac0e13..b458dc7369219df2edac46b15caeea46a0ea2d78 100644 (file)
@@ -2929,6 +2929,8 @@ static int wm8994_set_fll(struct snd_soc_dai *dai, int id, int src,
                snd_soc_update_bits(codec, WM8994_FLL1_CONTROL_1 + reg_offset,
                                    WM8994_FLL1_ENA | WM8994_FLL1_FRAC,
                                    reg);
+
+               msleep(5);
        }
 
        wm8994->fll[id].in = freq_in;