[Sound-open-firmware] What is the role of dma_status function?

Paul Olaru (OSS) paul.olaru at oss.nxp.com
Fri Apr 17 12:53:52 CEST 2020


I think there is an intended use which isn't implemented. If I look at the dai_position function, there is this comment:

/* TODO: improve accuracy by adding current DMA position */

This is probably a place where dma_status would be called in the future/is intended to be called in the future.

The same comment is visible in the host_position function.

________________________________________
From: Sound-open-firmware <sound-open-firmware-bounces at alsa-project.org> on behalf of Daniel Baluta <daniel.baluta at gmail.com>
Sent: Friday, April 17, 2020 7:33 AM
To: sound-open-firmware at alsa-project.org; Lauda, Tomasz
Cc: Liam Girdwood; Paul Olaru
Subject: [Sound-open-firmware] What is the role of dma_status function?

I see that all DMA drivers fill in this .status function, but I couldn't find
any users of it.

Any idea?
_______________________________________________
Sound-open-firmware mailing list
Sound-open-firmware at alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware


More information about the Sound-open-firmware mailing list