aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/sof/sof-client-probes.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-08-08 22:56:05 +0000
committerMark Brown <broonie@kernel.org>2023-08-14 13:10:09 +0100
commit450e7222236370e79fd3b75105967dc1e5cc0919 (patch)
tree0120380cf8f7ea9e571ef2099dfe7131f1120f1e /sound/soc/sof/sof-client-probes.c
parentASoC: img: merge DAI call back functions into ops (diff)
downloadwireguard-linux-450e7222236370e79fd3b75105967dc1e5cc0919.tar.xz
wireguard-linux-450e7222236370e79fd3b75105967dc1e5cc0919.zip
ASoC: sof: 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/87h6p9b0u2.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client-probes.c')
-rw-r--r--sound/soc/sof/sof-client-probes.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/sof/sof-client-probes.c b/sound/soc/sof/sof-client-probes.c
index 5530b5d793d0..740b637822db 100644
--- a/sound/soc/sof/sof-client-probes.c
+++ b/sound/soc/sof/sof-client-probes.c
@@ -354,10 +354,14 @@ static const struct file_operations sof_probes_points_remove_fops = {
.owner = THIS_MODULE,
};
+static const struct snd_soc_dai_ops sof_probes_dai_ops = {
+ .compress_new = snd_soc_new_compress,
+};
+
static struct snd_soc_dai_driver sof_probes_dai_drv[] = {
{
.name = "Probe Extraction CPU DAI",
- .compress_new = snd_soc_new_compress,
+ .ops = &sof_probes_dai_ops,
.cops = &sof_probes_compr_ops,
.capture = {
.stream_name = "Probe Extraction",