summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/meson-card-utils.c
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2020-07-31 14:06:03 +0200
committerMark Brown <broonie@kernel.org>2020-07-31 20:06:52 +0200
commitda3f23fde9d7b4a7e0ca9a9a096cec3104df1b82 (patch)
treec495cd1405dc624c8f4bbdb3fa0fc52a841477d0 /sound/soc/meson/meson-card-utils.c
parentASoC: core: use less strict tests for dailink capabilities (diff)
downloadlinux-da3f23fde9d7b4a7e0ca9a9a096cec3104df1b82.tar.xz
linux-da3f23fde9d7b4a7e0ca9a9a096cec3104df1b82.zip
ASoC: meson: cards: deal dpcm flag change
Commit b73287f0b074 ("ASoC: soc-pcm: dpcm: fix playback/capture checks") changed the meaning of dpcm_playback/dpcm_capture and now requires the CPU DAI BE to aligned with those flags. This broke all Amlogic cards with uni-directional backends (All gx and most axg cards). While I'm still confused as to how this change is an improvement, those cards can't remain broken forever. Hopefully, next time an API change is done like that, all the users will be updated as part of the change, and not left to fend for themselves. Fixes: b73287f0b074 ("ASoC: soc-pcm: dpcm: fix playback/capture checks") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20200731120603.2243261-1-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/meson-card-utils.c')
-rw-r--r--sound/soc/meson/meson-card-utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/meson/meson-card-utils.c b/sound/soc/meson/meson-card-utils.c
index 5a4a91c88734..c734131ff0d6 100644
--- a/sound/soc/meson/meson-card-utils.c
+++ b/sound/soc/meson/meson-card-utils.c
@@ -147,10 +147,6 @@ int meson_card_set_be_link(struct snd_soc_card *card,
struct device_node *np;
int ret, num_codecs;
- link->no_pcm = 1;
- link->dpcm_playback = 1;
- link->dpcm_capture = 1;
-
num_codecs = of_get_child_count(node);
if (!num_codecs) {
dev_err(card->dev, "be link %s has no codec\n",