All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Ensure we delay long enough for WM8994 FLL to lock when starting
@ 2011-07-02  0:35 Mark Brown
  2011-07-03 23:59 ` Sangbeom Kim
  2011-07-04  9:44 ` Liam Girdwood
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Brown @ 2011-07-02  0:35 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

This delay is very conservative.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8994.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 38abdff..2eb4594 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -1725,6 +1725,8 @@ static int _wm8994_set_fll(struct snd_soc_codec *codec, 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;
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-27 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-02  0:35 [PATCH] ASoC: Ensure we delay long enough for WM8994 FLL to lock when starting Mark Brown
2011-07-03 23:59 ` Sangbeom Kim
2011-07-04  0:44   ` Mark Brown
2011-07-04  1:13     ` Sangbeom Kim
2011-07-04  2:07       ` Mark Brown
2011-07-04  9:44 ` Liam Girdwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.