Explorar o código

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

Mark Brown %!s(int64=12) %!d(string=hai) anos
pai
achega
70a9f8797c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;