29 Mar
2018
29 Mar
'18
2:42 p.m.
On Thu, 2018-03-29 at 19:54 +0800, yan.wang@linux.intel.com wrote:
From: Yan Wang yan.wang@linux.intel.com
When DMA host buffer is wrapped, host DMA copy need more time to finish copying. So previous implementation will output old trace when DMA host buffer is wrapped because positions update is sent before DMA copying finished. Now trace_work() will always update previous position and avoid this.
Signed-off-by: Yan Wang yan.wang@linux.intel.com
Test with: Mininow max rt5651 and APL UP^2 nocodec and CNL nocodec SOF 1.1-stable: 1c417f9f3d0a01f2a5c997636c2c89227a949db0 SOF-Tool 1.1-stable: 739acd1e5e542b09f7b204f44350d676dacf0000 https://github.com/plbossart/sound/tree/topic/sof-v4.14: c33cfed51fff5eb156dcf70ba849e6ffb3008377
Applied.
Thanks
Liam