diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-08-09 01:58:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-14 15:10:32 +0300 |
commit | e22a907d66b679d2ce86fe73fbd47760981b30cb (patch) | |
tree | 77f1fee3f61b5e943b3c14864d698f48edca68f1 /sound/soc/codecs/cs47l15.c | |
parent | 80585b0c6aaabc5a4a8273c2e8e084a4f4d7f62f (diff) | |
download | linux-e22a907d66b679d2ce86fe73fbd47760981b30cb.tar.xz |
ASoC: codecs/cs47lxx: 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>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/87h6p99m55.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs47l15.c')
-rw-r--r-- | sound/soc/codecs/cs47l15.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs47l15.c b/sound/soc/codecs/cs47l15.c index a6538dab6639..1245e1a4f2a5 100644 --- a/sound/soc/codecs/cs47l15.c +++ b/sound/soc/codecs/cs47l15.c @@ -1143,6 +1143,10 @@ static int cs47l15_set_fll(struct snd_soc_component *component, int fll_id, } } +static const struct snd_soc_dai_ops cs47l15_dai_ops = { + .compress_new = snd_soc_new_compress, +}; + static struct snd_soc_dai_driver cs47l15_dai[] = { { .name = "cs47l15-aif1", @@ -1219,7 +1223,7 @@ static struct snd_soc_dai_driver cs47l15_dai[] = { .rates = MADERA_RATES, .formats = MADERA_FORMATS, }, - .compress_new = snd_soc_new_compress, + .ops = &cs47l15_dai_ops, }, { .name = "cs47l15-dsp-trace", |