summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/axg-spdifin.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-08-09 00:57:18 +0200
committerMark Brown <broonie@kernel.org>2023-08-14 14:10:20 +0200
commit2d3155a90757ec37f50c0aa98a532e5d0a61b953 (patch)
treefa76a91bc3431bbd2c11eccfcc72d1afb67f355c /sound/soc/meson/axg-spdifin.c
parentASoC: intel: merge DAI call back functions into ops (diff)
downloadlinux-2d3155a90757ec37f50c0aa98a532e5d0a61b953.tar.xz
linux-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/axg-spdifin.c')
-rw-r--r--sound/soc/meson/axg-spdifin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/meson/axg-spdifin.c b/sound/soc/meson/axg-spdifin.c
index e2cc4c4be758..d86880169075 100644
--- a/sound/soc/meson/axg-spdifin.c
+++ b/sound/soc/meson/axg-spdifin.c
@@ -267,6 +267,8 @@ static int axg_spdifin_dai_remove(struct snd_soc_dai *dai)
}
static const struct snd_soc_dai_ops axg_spdifin_ops = {
+ .probe = axg_spdifin_dai_probe,
+ .remove = axg_spdifin_dai_remove,
.prepare = axg_spdifin_prepare,
.startup = axg_spdifin_startup,
.shutdown = axg_spdifin_shutdown,
@@ -429,8 +431,6 @@ axg_spdifin_get_dai_drv(struct device *dev, struct axg_spdifin *priv)
drv->name = "SPDIF Input";
drv->ops = &axg_spdifin_ops;
- drv->probe = axg_spdifin_dai_probe;
- drv->remove = axg_spdifin_dai_remove;
drv->capture.stream_name = "Capture";
drv->capture.channels_min = 1;
drv->capture.channels_max = 2;