aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-02-25 01:14:33 -0500
committerMark Brown <broonie@linaro.org>2014-03-02 20:19:21 -0500
commit498480731e232d7c9a96a338924b5a275121e091 (patch)
treedb7142f332ab01dd02d605f967b2b64d1165657e
parenta2070feede404484296aace813b6c518582a3f8e (diff)
ASoC: rsnd: move priv member settings to upper side
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>
-rw-r--r--sound/soc/sh/rcar/core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index f316a663e4d3..a8e6aa6cb334 100644
--- 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,
594 return -ENOMEM; 594 return -ENOMEM;
595 } 595 }
596 596
597 priv->dai_nr = dai_nr;
598 priv->daidrv = drv;
599 priv->rdai = rdai;
600
597 for (i = 0; i < dai_nr; i++) { 601 for (i = 0; i < dai_nr; i++) {
598 602
599 pmod = rsnd_ssi_mod_get_frm_dai(priv, i, 1); 603 pmod = rsnd_ssi_mod_get_frm_dai(priv, i, 1);
@@ -630,10 +634,6 @@ static int rsnd_dai_probe(struct platform_device *pdev,
630 cmod ? "capture" : " -- "); 634 cmod ? "capture" : " -- ");
631 } 635 }
632 636
633 priv->dai_nr = dai_nr;
634 priv->daidrv = drv;
635 priv->rdai = rdai;
636
637 return 0; 637 return 0;
638} 638}
639 639