ASoC: rsnd: move .get_status under rsnd_mod_ops
Each mod needs to have .get_status, but current driver is handling it under rsnd_mod, instead of rsnd_mod_ops. It is not any make sence. This patch moves it to rsnd_mod_ops, and tidyup its parameter order to align to other callback functions. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
此提交包含在:
@@ -613,7 +613,7 @@ int rsnd_adg_probe(struct rsnd_priv *priv)
|
||||
return -ENOMEM;
|
||||
|
||||
ret = rsnd_mod_init(priv, &adg->mod, &adg_ops,
|
||||
NULL, NULL, 0, 0);
|
||||
NULL, 0, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
新增問題並參考
封鎖使用者