mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 14:26:40 +07:00
ASoC: rsnd: use rsnd_mod_init() for ADG
Current ADG doesn't use rsnd_mod_init(), but this limitation is no longer necessary. Let's use common rsnd_mod_init() Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
678ea00372
commit
7c89746eed
@ -518,13 +518,8 @@ int rsnd_adg_probe(struct rsnd_priv *priv)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/*
|
||||
* ADG is special module.
|
||||
* Use ADG mod without rsnd_mod_init() to make debug easy
|
||||
* for rsnd_write/rsnd_read
|
||||
*/
|
||||
adg->mod.ops = &adg_ops;
|
||||
adg->mod.priv = priv;
|
||||
rsnd_mod_init(priv, &adg->mod, &adg_ops,
|
||||
NULL, 0, 0);
|
||||
|
||||
rsnd_adg_get_clkin(priv, adg);
|
||||
rsnd_adg_get_clkout(priv, adg);
|
||||
|
Loading…
Reference in New Issue
Block a user