Skip to contentSkip to conversation

ASoC: wm8994: Ensure lambda is zeroed for WM8994

PATCH In review Mark Brown 2 participants 2 messages May 27, 2013

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: wm8994: Ensure lambda is zeroed for WM8994

---
 sound/soc/codecs/wm8994.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/codecs/wm8994.c +3 -3
index 5f51127..f5eb644 100644
@@ -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;
Signature · 1 line
1.7.10.4