diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2025-03-14 20:47:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-31 16:59:36 +0300 |
commit | 3107019501842c27334554ba9d6583b1f200f61f (patch) | |
tree | b102770528ddd9c78d7cbb7e827d4f1b5c12da76 /lib/string_helpers.c | |
parent | 0badb5432fd525a00db5630c459b635e9d47f445 (diff) | |
download | linux-3107019501842c27334554ba9d6583b1f200f61f.tar.xz |
ASoC: qdsp6: q6apm-dai: set 10 ms period and buffer alignment.
DSP expects the periods to be aligned to fragment sizes, currently
setting up to hw constriants on periods bytes is not going to work
correctly as we can endup with periods sizes aligned to 32 bytes however
not aligned to fragment size.
Update the constriants to use fragment size, and also set at step of
10ms for period size to accommodate DSP requirements of 10ms latency.
Fixes: 9b4fe0f1cd79 ("ASoC: qdsp6: audioreach: add q6apm-dai support")
Cc: stable@vger.kernel.org
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://patch.msgid.link/20250314174800.10142-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions