* [PATCH] ASoC: wm8994: Ensure lambda is zeroed for WM8994
@ 2013-05-27 13:24 Mark Brown
2013-05-27 13:36 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2013-05-27 13:24 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm8994.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 5f51127..f5eb644 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -1,3 +1,4 @@
+#define DEBUG
/*
* wm8994.c -- WM8994 ALSA SoC Audio driver
*
@@ -2078,6 +2079,7 @@ static int wm8994_get_fll_config(struct wm8994 *control, struct fll_div *fll,
/* Move down to proper range now rounding is done */
fll->k = K / 10;
+ fll->lambda = 0;
pr_debug("N=%x K=%x\n", fll->n, fll->k);
break;
@@ -3129,9 +3131,7 @@ static int wm8994_codec_suspend(struct snd_soc_codec *codec)
static int wm8994_codec_resume(struct snd_soc_codec *codec)
{
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
- struct wm8994 *control = wm8994->wm8994;
int i, ret;
- unsigned int val, mask;
for (i = 0; i < ARRAY_SIZE(wm8994->fll); i++) {
if (!wm8994->fll_suspend[i].out)
@@ -3986,7 +3986,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
case 0:
case 1:
wm8994->hubs.no_series_update = 1;
- wm8994->hubs.no_runtime_dcs = true;
+ //wm8994->hubs.no_runtime_dcs = true;
break;
default:
break;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-27 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 13:24 [PATCH] ASoC: wm8994: Ensure lambda is zeroed for WM8994 Mark Brown
2013-05-27 13:36 ` Mark Brown
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.