diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2024-08-21 02:14:02 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-22 13:36:46 +0100 |
commit | 12806510481497a01d01edd64d7bb53a4d9ec28d (patch) | |
tree | 5809629dcb2928c36dec2488869338098455cd06 /sound/soc/meson/gx-card.c | |
parent | fd69dfe6789f4ed46d1fdb52e223cff83946d997 (diff) |
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 'sound/soc/meson/gx-card.c')
-rw-r--r-- | sound/soc/meson/gx-card.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/meson/gx-card.c b/sound/soc/meson/gx-card.c index f1539e542638..7edca3e49c8f 100644 --- a/sound/soc/meson/gx-card.c +++ b/sound/soc/meson/gx-card.c @@ -107,7 +107,6 @@ static int gx_card_add_link(struct snd_soc_card *card, struct device_node *np, dai_link->num_c2c_params = 1; } else { dai_link->no_pcm = 1; - snd_soc_dai_link_set_capabilities(dai_link); /* Check if the cpu is the i2s encoder and parse i2s data */ if (gx_card_cpu_identify(dai_link->cpus, "I2S Encoder")) ret = gx_card_parse_i2s(card, np, index); |