diff options
author | Srinivas Kandagatla <[email protected]> | 2023-02-09 12:28:00 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-02-09 14:03:28 +0000 |
commit | 84222ef54bfd8f043c23c8603fd5257a64b00780 (patch) | |
tree | 271f3519031b7ac4fea408812704ea15cf2bd6c9 /scripts/bpf_doc.py | |
parent | c2ac3aec474da0455df79c4a182f19687bc98d1d (diff) |
ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer
It is noticed that the position pointer value seems to get a get corrupted
due to missing locking between updating and reading.
Fix this by adding a spinlock around the position pointer.
Fixes: 9b4fe0f1cd79 ("ASoC: qdsp6: audioreach: add q6apm-dai support")
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions