summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-04 19:30:03 +0200
committerMark Brown <broonie@linaro.org>2013-07-04 19:30:03 +0200
commit70a9f8797ce298544cfd07328ff59f00488bc491 (patch)
tree24625d98dc2dab64972320fe3db5e6ee9353d60a /sound
parentMerge remote-tracking branch 'asoc/fix/samsung' into asoc-linus (diff)
parentASoC: wm8962: fix NULL pdata pointer (diff)
downloadlinux-70a9f8797ce298544cfd07328ff59f00488bc491.tar.xz
linux-70a9f8797ce298544cfd07328ff59f00488bc491.zip
Merge remote-tracking branch 'asoc/fix/wm8962' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index b1dc7d426438..e2de9ecfd641 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/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;