Browse Source

Merge remote-tracking branch 'asoc/fix/wm8962' into asoc-linus

Mark Brown 12 years ago
parent
commit
70a9f8797c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/wm8962.c

+ 1 - 1
sound/soc/codecs/wm8962.c

@@ -3377,7 +3377,7 @@ static int wm8962_probe(struct snd_soc_codec *codec)
 {
 	int ret;
 	struct wm8962_priv *wm8962 = snd_soc_codec_get_drvdata(codec);
-	struct wm8962_pdata *pdata = dev_get_platdata(codec->dev);
+	struct wm8962_pdata *pdata = &wm8962->pdata;
 	int i, trigger, irq_pol;
 	bool dmicclk, dmicdat;