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 /sound/soc/fsl/imx-card.c | |
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 'sound/soc/fsl/imx-card.c')
-rw-r--r-- | sound/soc/fsl/imx-card.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-card.c b/sound/soc/fsl/imx-card.c index 0e18ccabe28c..98b37dd2b901 100644 --- a/sound/soc/fsl/imx-card.c +++ b/sound/soc/fsl/imx-card.c @@ -650,9 +650,6 @@ static int imx_card_parse_of(struct imx_card_data *data) link->ops = &imx_aif_ops; } - if (link->no_pcm || link->dynamic) - snd_soc_dai_link_set_capabilities(link); - /* Get dai fmt */ ret = simple_util_parse_daifmt(dev, np, codec, NULL, &link->dai_fmt); |