Skip to content

Commit c39c399

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 887947b commit c39c399

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
@@ -455,7 +455,7 @@ void dai_dma_position_update(struct dai_data *dd, struct comp_dev *dev)
455455
if (!dd->slot_info.node_id)
456456
return;
457457

458-
ret = dma_get_status(dd->dma->z_dev, dd->chan_index, &status);
458+
ret = sof_dma_get_status(dd->dma, dd->chan_index, &status);
459459
if (ret < 0)
460460
return;
461461

0 commit comments

Comments
 (0)