Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ipc/ipc4/dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ void dai_dma_release(struct dai_data *dd, struct comp_dev *dev)
* TODO: refine power management when stream is paused
*/
/* if reset is after pause dma has already been stopped */
dma_stop(dd->dma->z_dev, dd->chan_index);
sof_dma_stop(dd->dma, dd->chan_index);

dma_release_channel(dd->dma->z_dev, dd->chan_index);
sof_dma_release_channel(dd->dma, dd->chan_index);
dd->chan_index = -EINVAL;
}
}
Expand Down Expand Up @@ -450,7 +450,7 @@ void dai_dma_position_update(struct dai_data *dd, struct comp_dev *dev)
if (!dd->slot_info.node_id)
return;

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

Expand Down
Loading