diff options
| author | Srinivas Kandagatla <[email protected]> | 2025-03-14 17:47:57 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-03-31 13:59:35 +0000 |
| commit | 0badb5432fd525a00db5630c459b635e9d47f445 (patch) | |
| tree | bd3bcfcf4fece66669a7a894e42b07a3968d5237 /net/core/lock_debug.c | |
| parent | ASoC: q6apm-dai: schedule all available frames to avoid dsp under-runs (diff) | |
| download | kernel-0badb5432fd525a00db5630c459b635e9d47f445.tar.gz kernel-0badb5432fd525a00db5630c459b635e9d47f445.zip | |
ASoC: q6apm: add q6apm_get_hw_pointer helper
Implement an helper function in q6apm to be able to read the current
hardware pointer for both read and write buffers.
This should help q6apm-dai to get the hardware pointer consistently
without it doing manual calculation, which could go wrong in some race
conditions.
Fixes: 9b4fe0f1cd79 ("ASoC: qdsp6: audioreach: add q6apm-dai support")
Cc: [email protected]
Signed-off-by: Srinivas Kandagatla <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Johan Hovold <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions
