Skip to content

Commit

Permalink
ASoC: Ensure we delay long enough for WM8994 FLL to lock when starting
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Mark Brown committed Jul 4, 2011
1 parent 713d136 commit 8e9ddf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -1713,6 +1713,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;
Expand Down

0 comments on commit 8e9ddf8

Please sign in to comment.