]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: remove snd_soc_dai_link_set_capabilities()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 21 Aug 2024 02:14:02 +0000 (02:14 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 22 Aug 2024 12:36:46 +0000 (13:36 +0100)
commit12806510481497a01d01edd64d7bb53a4d9ec28d
tree5809629dcb2928c36dec2488869338098455cd06
parentfd69dfe6789f4ed46d1fdb52e223cff83946d997
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>
include/sound/soc-dai.h
sound/soc/fsl/imx-card.c
sound/soc/generic/audio-graph-card.c
sound/soc/generic/audio-graph-card2.c
sound/soc/generic/simple-card.c
sound/soc/meson/axg-card.c
sound/soc/meson/gx-card.c
sound/soc/qcom/common.c
sound/soc/soc-dai.c