ASoC: meson: cards: deal dpcm flag change
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 31 Jul 2020 12:06:03 +0000 (14:06 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 31 Jul 2020 18:06:52 +0000 (19:06 +0100)
commitda3f23fde9d7b4a7e0ca9a9a096cec3104df1b82
treec495cd1405dc624c8f4bbdb3fa0fc52a841477d0
parent4f8721542f7b75954bfad98c51aa59d683d35b50
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>
sound/soc/meson/axg-card.c
sound/soc/meson/gx-card.c
sound/soc/meson/meson-card-utils.c