]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit406e73b74e92b1fb04a49e4fd0bf4ed8984abca9
treec495cd1405dc624c8f4bbdb3fa0fc52a841477d0
parentdfd07e08a2b2a1891e413618d1f009da5c5acbe3
ASoC: meson: cards: deal dpcm flag change

Commit 69f2df8875c7 ("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: 69f2df8875c7 ("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