Skip to content

Commit 2a9c709

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 3dd7289 commit 2a9c709

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
@@ -450,7 +450,7 @@ void dai_dma_position_update(struct dai_data *dd, struct comp_dev *dev)
450450
if (!dd->slot_info.node_id)
451451
return;
452452

453-
ret = dma_get_status(dd->dma->z_dev, dd->chan_index, &status);
453+
ret = sof_dma_get_status(dd->dma, dd->chan_index, &status);
454454
if (ret < 0)
455455
return;
456456

0 commit comments

Comments
 (0)