mirror of https://github.com/thesofproject/sof.git
9831a9ded7
On NXP platforms, stopping the DMAC and then re-configuring it leads to the internal DMA buffer cursors being reset. Leaving the SOF DMA buffer cursors in the same state means the DMA driver and SOF may potentially end up with two different views of the same buffer (from the cursors' point of view). This in, turn, may lead to the DAI consuming stale data because of the values of "free" and "pending" queried from dma_reload() stopping dai_common_copy() from copying new data. To fix this, reset the read and write cursors of the DMA buffer from SOF side. This way, both SOF and the DMA driver will have the same initial view of the DMA buffer cursors. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> |
||
---|---|---|
.github | ||
app | ||
doc | ||
installer | ||
keys | ||
lmdk | ||
posix/include | ||
scripts | ||
smex | ||
src | ||
submanifests | ||
test | ||
third_party/include | ||
tools | ||
xtos/include | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
Kconfig.sof | ||
Kconfig.xtos-build | ||
Kconfig.xtos-dbg | ||
Kconfig.zephyr-log | ||
LICENCE | ||
README.md | ||
versions.json | ||
west.yml |
README.md
Sound Open Firmware
Status
Documentation
See docs
Running the tests
See unit testing documentation
Deployment
TODO: Add additional notes about how to deploy this on a live system
Contributing
See Contributing to the Project
License
This project is licensed under the BSD Clause 3 - see the LICENCE file for details