diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-08-09 01:57:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-14 15:10:20 +0300 |
commit | 2d3155a90757ec37f50c0aa98a532e5d0a61b953 (patch) | |
tree | fa76a91bc3431bbd2c11eccfcc72d1afb67f355c /sound/soc/meson/aiu-acodec-ctrl.c | |
parent | e9f512121e6ae491aac255849eabeb3d2b1e4199 (diff) | |
download | linux-2d3155a90757ec37f50c0aa98a532e5d0a61b953.tar.xz |
ASoC: meson: merge DAI call back functions into ops
ALSA SoC merges DAI call backs into .ops.
This patch merge these into one.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87zg319m7m.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/aiu-acodec-ctrl.c')
-rw-r--r-- | sound/soc/meson/aiu-acodec-ctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/meson/aiu-acodec-ctrl.c b/sound/soc/meson/aiu-acodec-ctrl.c index d0f0ada5f4bc..7b04b97f7b41 100644 --- a/sound/soc/meson/aiu-acodec-ctrl.c +++ b/sound/soc/meson/aiu-acodec-ctrl.c @@ -103,6 +103,8 @@ static int aiu_acodec_ctrl_input_hw_params(struct snd_pcm_substream *substream, } static const struct snd_soc_dai_ops aiu_acodec_ctrl_input_ops = { + .probe = meson_codec_glue_input_dai_probe, + .remove = meson_codec_glue_input_dai_remove, .hw_params = aiu_acodec_ctrl_input_hw_params, .set_fmt = meson_codec_glue_input_set_fmt, }; @@ -130,8 +132,6 @@ static const struct snd_soc_dai_ops aiu_acodec_ctrl_output_ops = { .name = "ACODEC CTRL " xname, \ .playback = AIU_ACODEC_STREAM(xname, "Playback", 8), \ .ops = &aiu_acodec_ctrl_input_ops, \ - .probe = meson_codec_glue_input_dai_probe, \ - .remove = meson_codec_glue_input_dai_remove, \ } #define AIU_ACODEC_OUTPUT(xname) { \ |