summaryrefslogtreecommitdiff
path: root/sound/soc/meson/aiu-codec-ctrl.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-08-08 22:57:18 +0000
committerMark Brown <broonie@kernel.org>2023-08-14 13:10:20 +0100
commit2d3155a90757ec37f50c0aa98a532e5d0a61b953 (patch)
treefa76a91bc3431bbd2c11eccfcc72d1afb67f355c /sound/soc/meson/aiu-codec-ctrl.c
parente9f512121e6ae491aac255849eabeb3d2b1e4199 (diff)
downloadlwn-2d3155a90757ec37f50c0aa98a532e5d0a61b953.tar.gz
lwn-2d3155a90757ec37f50c0aa98a532e5d0a61b953.zip
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-codec-ctrl.c')
-rw-r--r--sound/soc/meson/aiu-codec-ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/meson/aiu-codec-ctrl.c b/sound/soc/meson/aiu-codec-ctrl.c
index 84c10956c241..ee0ef6301010 100644
--- a/sound/soc/meson/aiu-codec-ctrl.c
+++ b/sound/soc/meson/aiu-codec-ctrl.c
@@ -75,6 +75,8 @@ static const struct snd_soc_dapm_widget aiu_hdmi_ctrl_widgets[] = {
};
static const struct snd_soc_dai_ops aiu_codec_ctrl_input_ops = {
+ .probe = meson_codec_glue_input_dai_probe,
+ .remove = meson_codec_glue_input_dai_remove,
.hw_params = meson_codec_glue_input_hw_params,
.set_fmt = meson_codec_glue_input_set_fmt,
};
@@ -102,8 +104,6 @@ static const struct snd_soc_dai_ops aiu_codec_ctrl_output_ops = {
.name = "CODEC CTRL " xname, \
.playback = AIU_CODEC_CTRL_STREAM(xname, "Playback"), \
.ops = &aiu_codec_ctrl_input_ops, \
- .probe = meson_codec_glue_input_dai_probe, \
- .remove = meson_codec_glue_input_dai_remove, \
}
#define AIU_CODEC_CTRL_OUTPUT(xname) { \