mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
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>
This commit is contained in:
parent
a2070feede
commit
498480731e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user