commit | e096ca72e261b8300f4c238b48175a342c161bd1 | [log] [tgz] |
---|---|---|
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | Thu Oct 28 16:55:28 2021 |
committer | Keyon Jie <yang.jie@linux.intel.com> | Thu Nov 04 06:52:18 2021 |
tree | 50b9c8721d919c2f505afafd04ed7c9c177b6a77 | |
parent | c81c7bf6978be1a80c43e7894764e354679bf0d5 [diff] |
drivers: Intel: hda-dma: only check DGCS_BUSY with delayed stop When an older kernel is used, we use the immediate stop. On some platforms, we see an -EBUSY error that prevents the trigger stop from working. This patch adds a check to be 'bug-compatible' with previous releases and older kernels. An additional fix would be to insert a poll timeout to make sure the BUSY bit is cleared. BugLink: https://github.com/thesofproject/sof/issues/4919 Fixes: 7e54f456e ('drivers: Intel: hda-dma: ensure DMA channel is idle after stop') Suggested-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> (cherry picked from commit 9e4b18d19f3aec198e67962bcd7a92df84fa51e8)
See docs
See unit testing documentation
TODO: Add additional notes about how to deploy this on a live system
See Contributing to the Project
This project is licensed under the BSD Clause 3 - see the LICENCE file for details