12 Oct
2017
12 Oct
'17
11:31 p.m.
Use platform timer for timestamp.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/drivers/dw-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drivers/dw-dma.c b/src/drivers/dw-dma.c index 007bf3f..3606611 100644 --- a/src/drivers/dw-dma.c +++ b/src/drivers/dw-dma.c @@ -422,7 +422,7 @@ static int dw_dma_status(struct dma *dma, int channel, status->state = p->chan[channel].status; status->r_pos = dw_read(dma, DW_SAR(channel)); status->w_pos = dw_read(dma, DW_DAR(channel)); - status->timestamp = timer_get_system(NULL); + status->timestamp = timer_get_system(platform_timer);
return 0; }
--
2.11.0