ASoC: dpcm: symmetry constraint on FE substream
authorKai Chieh Chuang <kaichieh.chuang@mediatek.com>
Mon, 28 May 2018 02:18:19 +0000 (10:18 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 29 May 2018 13:56:38 +0000 (14:56 +0100)
commit99bcedbdebc57fe5d02fb470b7265f2208c2cf96
tree258e0b2a185b56b470fee39e01b421d813beb180
parent9c0ac70ad24d76b873c1551e27790c7f6a815d5c
ASoC: dpcm: symmetry constraint on FE substream

We should set BE symmetric constraint on FE substream.

in case one BE is used by two FE1/FE2,
the first BE runtime will use FE1's substream->runtime.
hence the FE1's will be constrained by BE symmetry property.

Though, second FE2 call dpcm_apply_symmetry,
the be_substream->runtime == FE1's substream->runtime.
The FE2's substream->runtime will not be constrained
by BE's symmetry property.

Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c