aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-03-04 20:42:41 +0000
committerMark Brown <broonie@kernel.org>2015-03-04 20:42:41 +0000
commite0427428db79f7d6648f27985c775b3f6f5db28b (patch)
treec407636a4777b28380e9f6d0da9306a6daa46644 /sound
parentMerge remote-tracking branch 'asoc/fix/omap' into asoc-linus (diff)
parentASoC: rsnd: set device data before snd_soc_register_platform/component (diff)
downloadlinux-dev-e0427428db79f7d6648f27985c775b3f6f5db28b.tar.xz
linux-dev-e0427428db79f7d6648f27985c775b3f6f5db28b.zip
Merge remote-tracking branch 'asoc/fix/rsnd' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sh/rcar/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 1b53605f7154..110577c52317 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -1252,6 +1252,8 @@ static int rsnd_probe(struct platform_device *pdev)
goto exit_snd_probe;
}
+ dev_set_drvdata(dev, priv);
+
/*
* asoc register
*/
@@ -1268,8 +1270,6 @@ static int rsnd_probe(struct platform_device *pdev)
goto exit_snd_soc;
}
- dev_set_drvdata(dev, priv);
-
pm_runtime_enable(dev);
dev_info(dev, "probed\n");