mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
ASoC: arizona: Wait for resume before enabling FLL
When enabling an FLL use pm_runtime_get_sync() instead of pm_runtime_get() to ensure that all the register settings have been written out and the codec is powered-up before we write the enable bit. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
c9991052ae
commit
63d19e0693
1 changed files with 1 additions and 1 deletions
|
@ -2268,7 +2268,7 @@ static int arizona_enable_fll(struct arizona_fll *fll)
|
||||||
ARIZONA_FLL1_SYNC_BW);
|
ARIZONA_FLL1_SYNC_BW);
|
||||||
|
|
||||||
if (!already_enabled)
|
if (!already_enabled)
|
||||||
pm_runtime_get(arizona->dev);
|
pm_runtime_get_sync(arizona->dev);
|
||||||
|
|
||||||
regmap_update_bits_async(arizona->regmap, fll->base + 1,
|
regmap_update_bits_async(arizona->regmap, fll->base + 1,
|
||||||
ARIZONA_FLL1_ENA, ARIZONA_FLL1_ENA);
|
ARIZONA_FLL1_ENA, ARIZONA_FLL1_ENA);
|
||||||
|
|
Loading…
Reference in a new issue