ASoC: arizona: Add 32uS delay after putting FLL into freerun
Subsystems (3)
PATCH 1/1 ASoC: arizona: Add 32uS delay after putting FLL into freerun
When switching between two clock sources using the FLL freerun to smooth the transition we should wait 32uS after putting the FLL into freerun before we proceed. In practice we appear to be getting enough delay from the surrounding code, but better to make it explicit.
--- sound/soc/codecs/arizona.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/codecs/arizona.c +3 -3
@@ -2212,9 +2212,9 @@ static int arizona_enable_fll(struct arizona_fll *fll)/* Facilitate smooth refclk across the transition */ regmap_update_bits_async (fll->arizona->regmap, fll->base +0x9 ,ARIZONA_FLL1_GAIN_MASK ,0 ); -regmap_update_bits_async (fll->arizona->regmap, fll->base +1 , -ARIZONA_FLL1_FREERUN , -ARIZONA_FLL1_FREERUN ); +regmap_update_bits (fll->arizona->regmap, fll->base +1 , +ARIZONA_FLL1_FREERUN ,ARIZONA_FLL1_FREERUN ); +udelay (32 ); }/*
Signature · 1 line
2.1.4
Mark Brown
maintainerApplied "ASoC: arizona: Add 32uS delay after putting FLL into freerun" to the asoc tree
The patch
ASoC: arizona: Add 32uS delay after putting FLL into freerun
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
800f297e8ef91901b93c280425863684dff2d9c6Mon Sep 17 00:00:00 2001
From: Charles Keepax <[email protected]>
Date: Mon, 30 Nov 2015 17:37:28 +0000
Subject: [PATCH] ASoC: arizona: Add 32uS delay after putting FLL into freerun
When switching between two clock sources using the FLL freerun to smooth the transition we should wait 32uS after putting the FLL into freerun before we proceed. In practice we appear to be getting enough delay from the surrounding code, but better to make it explicit.
--- sound/soc/codecs/arizona.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/codecs/arizona.c +3 -3
@@ -2212,9 +2212,9 @@ static int arizona_enable_fll(struct arizona_fll *fll)/* Facilitate smooth refclk across the transition */ regmap_update_bits_async (fll->arizona->regmap, fll->base +0x9 ,ARIZONA_FLL1_GAIN_MASK ,0 ); -regmap_update_bits_async (fll->arizona->regmap, fll->base +1 , -ARIZONA_FLL1_FREERUN , -ARIZONA_FLL1_FREERUN ); +regmap_update_bits (fll->arizona->regmap, fll->base +1 , +ARIZONA_FLL1_FREERUN ,ARIZONA_FLL1_FREERUN ); +udelay (32 ); }/*
Signature · 1 line
2.6.2