Skip to content

Commit d574f22

Browse files
committed
ipc: ipc4: use correct API to get DMA status
Use sof_dma_get_status() call to allow the audio pipeline to be run in user-space. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 271d7dc commit d574f22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ipc/ipc4/dai.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ void dai_dma_position_update(struct dai_data *dd, struct comp_dev *dev)
440440
if (!dd->slot_info.node_id)
441441
return;
442442

443-
ret = dma_get_status(dd->dma->z_dev, dd->chan_index, &status);
443+
ret = sof_dma_get_status(dd->dma, dd->chan_index, &status);
444444
if (ret < 0)
445445
return;
446446

0 commit comments

Comments
 (0)