* [PATCH] ASoC: Optimise WM9081 FLL performance
@ 2010-12-09 16:17 Mark Brown
2010-12-10 16:28 ` Liam Girdwood
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2010-12-09 16:17 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, patches, Mario Becroft, Mark Brown
From: Mario Becroft <mb@gem.win.co.nz>
Tune the FLL gain for optimal performance according to evaluation
results.
Signed-off-by: Mario Becroft <mb@gem.win.co.nz>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm9081.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c
index c706077..e5055b2 100644
--- a/sound/soc/codecs/wm9081.c
+++ b/sound/soc/codecs/wm9081.c
@@ -590,6 +590,10 @@ static int wm9081_set_fll(struct snd_soc_codec *codec, int fll_id,
reg5 |= fll_div.fll_clk_ref_div << WM9081_FLL_CLK_REF_DIV_SHIFT;
snd_soc_write(codec, WM9081_FLL_CONTROL_5, reg5);
+ /* Set gain to the recommended value */
+ snd_soc_update_bits(codec, WM9081_FLL_CONTROL_4,
+ WM9081_FLL_GAIN_MASK, 0);
+
/* Enable the FLL */
snd_soc_write(codec, WM9081_FLL_CONTROL_1, reg1 | WM9081_FLL_ENA);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: Optimise WM9081 FLL performance
2010-12-09 16:17 [PATCH] ASoC: Optimise WM9081 FLL performance Mark Brown
@ 2010-12-10 16:28 ` Liam Girdwood
0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2010-12-10 16:28 UTC (permalink / raw)
To: Mark Brown; +Cc: Mario, alsa-devel, patches, Becroft
On Thu, 2010-12-09 at 16:17 +0000, Mark Brown wrote:
> From: Mario Becroft <mb@gem.win.co.nz>
>
> Tune the FLL gain for optimal performance according to evaluation
> results.
>
> Signed-off-by: Mario Becroft <mb@gem.win.co.nz>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-10 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-09 16:17 [PATCH] ASoC: Optimise WM9081 FLL performance Mark Brown
2010-12-10 16:28 ` 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.