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@alsa-project.org> on behalf of Daniel Baluta <daniel.baluta@gmail.com> Sent: Friday, April 17, 2020 7:33 AM To: sound-open-firmware@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@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware