diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2024-08-21 04:14:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-22 14:36:46 +0200 |
commit | 12806510481497a01d01edd64d7bb53a4d9ec28d (patch) | |
tree | 5809629dcb2928c36dec2488869338098455cd06 /include/sound | |
parent | ASoC: soc-pcm: Indicate warning if dpcm_playback/capture were used for availa... (diff) | |
download | linux-12806510481497a01d01edd64d7bb53a4d9ec28d.tar.xz linux-12806510481497a01d01edd64d7bb53a4d9ec28d.zip |
ASoC: remove snd_soc_dai_link_set_capabilities()
dpcm_xxx flags are no longer needed.
We need to use xxx_only flags instead if needed, but
snd_soc_dai_link_set_capabilities() user adds dpcm_xxx if playback/capture
were available. Thus converting dpcm_xxx to xxx_only is not needed.
Just remove it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patch.msgid.link/87r0aiaahh.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dai.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index ab4e109fe71d..0d1b215f24f4 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -219,7 +219,6 @@ void snd_soc_dai_resume(struct snd_soc_dai *dai); int snd_soc_dai_compress_new(struct snd_soc_dai *dai, struct snd_soc_pcm_runtime *rtd, int num); bool snd_soc_dai_stream_valid(const struct snd_soc_dai *dai, int stream); -void snd_soc_dai_link_set_capabilities(struct snd_soc_dai_link *dai_link); void snd_soc_dai_action(struct snd_soc_dai *dai, int stream, int action); static inline void snd_soc_dai_activate(struct snd_soc_dai *dai, |