Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: soc-topology: 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/87il9p9m5a.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
80585b0c 586685f1

+5 -1
+5 -1
sound/soc/soc-topology.c
··· 1560 1560 1 : 0; 1561 1561 } 1562 1562 1563 + static const struct snd_soc_dai_ops tplg_dai_ops = { 1564 + .compress_new = snd_soc_new_compress, 1565 + }; 1566 + 1563 1567 static int soc_tplg_dai_create(struct soc_tplg *tplg, 1564 1568 struct snd_soc_tplg_pcm *pcm) 1565 1569 { ··· 1605 1601 } 1606 1602 1607 1603 if (pcm->compress) 1608 - dai_drv->compress_new = snd_soc_new_compress; 1604 + dai_drv->ops = &tplg_dai_ops; 1609 1605 1610 1606 /* pass control to component driver for optional further init */ 1611 1607 ret = soc_tplg_dai_load(tplg, dai_drv, pcm, NULL);