Merge remote-tracking branch 'asoc/topic/new-pcm' into asoc-next
[cascardo/linux.git] / sound / soc / codecs / wm8962.c
index b1dc7d4..e2de9ec 100644 (file)
@@ -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;