[alsa-devel] [PATCH 01/06] Fix compilation warning for sound/soc/codecs/wm8400.c

Subrata Modak subrata at linux.vnet.ibm.com
Wed Jul 15 04:18:30 CEST 2009


Following fix is inspired by David Howells fix few days back:
http://lkml.org/lkml/2009/7/9/109,

Signed-off-by: Subrata Modak<subrata at linux.vnet.ibm.com>,
---

--- a/sound/soc/codecs/wm8400.c	2009-06-15 07:52:31.000000000 +0530
+++ b/sound/soc/codecs/wm8400.c	2009-07-15 05:35:00.000000000 +0530
@@ -1015,7 +1015,7 @@ static int wm8400_set_dai_pll(struct snd
 {
 	struct snd_soc_codec *codec = codec_dai->codec;
 	struct wm8400_priv *wm8400 = codec->private_data;
-	struct fll_factors factors;
+	struct fll_factors uninitialized_var(factors);
 	int ret;
 	u16 reg;
 

---
Regards--
Subrata



More information about the Alsa-devel mailing list