ASoC: meson: g12a-tohdmitx: override codec2codec params
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 29 Jul 2019 08:01:39 +0000 (10:01 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:03:12 +0000 (12:03 +0100)
commit2c4956bc1e9062e5e3c5ea7612294f24e6d4fbdd
tree158ce940d1e337901fe873b45518dc74108ecb20
parent096769ea95380ef3048765aef676e8947bc368d4
ASoC: meson: g12a-tohdmitx: override codec2codec params

So far, forwarding the hw_params of the input to output relied on the
.hw_params() callback of the cpu side of the codec2codec link to be called
first. This is a bit weak.

Instead, override the stream params of the codec2codec to link to set it up
correctly.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20190729080139.32068-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/g12a-tohdmitx.c