projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2070fe
)
ASoC: rsnd: move priv member settings to upper side
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 25 Feb 2014 06:14:33 +0000
(22:14 -0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 3 Mar 2014 01:19:21 +0000
(10:19 +0900)
There is no big meaning, but preparation for platform dai support
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/core.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/core.c
b/sound/soc/sh/rcar/core.c
index f316a663e4d367e5ac6944c5e54209ebc0d108d1..a8e6aa6cb3346d686dd513e1819e8427f97de073 100644
(file)
--- a/
sound/soc/sh/rcar/core.c
+++ b/
sound/soc/sh/rcar/core.c
@@
-594,6
+594,10
@@
static int rsnd_dai_probe(struct platform_device *pdev,
return -ENOMEM;
}
+ priv->dai_nr = dai_nr;
+ priv->daidrv = drv;
+ priv->rdai = rdai;
+
for (i = 0; i < dai_nr; i++) {
pmod = rsnd_ssi_mod_get_frm_dai(priv, i, 1);
@@
-630,10
+634,6
@@
static int rsnd_dai_probe(struct platform_device *pdev,
cmod ? "capture" : " -- ");
}
- priv->dai_nr = dai_nr;
- priv->daidrv = drv;
- priv->rdai = rdai;
-
return 0;
}