diff options
author | PC Liao <pc.liao@mediatek.com> | 2015-12-11 03:33:51 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-12 22:58:32 (GMT) |
commit | 906c7d690c3b80e4321178c083db8c14afb56bf8 (patch) | |
tree | 443e2cc9c0dced923178bdfac26de652801706ab /include | |
parent | 95f444dc9371a3910179a9621c8b94f0f60f5f04 (diff) | |
download | linux-906c7d690c3b80e4321178c083db8c14afb56bf8.tar.xz |
ASoC: dpcm: Apply symmetry for DPCM
DPCM does not fully support symmetry attributes. soc_pcm_apply_symmetry()
is skipped in soc_pcm_open() for DPCM, without being applied elsewhere.
So HW parameters cannot be correctly limited, and user space can do
playback/capture at different rates while HW actually does not support it.
soc_pcm_params_symmetry() will return error and the second stream stops.
This patch adds soc_pcm_apply_symmetry() for FE, BE, and codec DAIs
in DPCM path that was skipped in soc_pcm_open().
Signed-off-by: PC Liao <pc.liao@mediatek.com>
Signed-off-by: Koro Chen <koro.chen@mediatek.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions