提交 49848073 编写于 作者: K Kuninori Morimoto 提交者: Mark Brown

ASoC: rsnd: move priv member settings to upper side

There is no big meaning, but preparation for platform dai support
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 a2070fee
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册