Skip to content
Closed
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion src/audio/dai-zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,8 @@ static int dai_copy(struct comp_dev *dev)
/* get data sizes from DMA */
ret = dma_get_status(dd->chan->dma->z_dev, dd->chan->index, &stat);
if (ret < 0) {
dai_report_xrun(dev, 0);
if (ret == -EPIPE)
dai_report_xrun(dev, 0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recently found out that ALSA is using EPIPE to indicate xrun conditions, should we update our code to do the same?

return ret;
}
avail_bytes = stat.pending_length;
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ manifest:

- name: zephyr
repo-path: zephyr
revision: d9c4ec31fc49e7eef3c8c3b0d07827cc04e6efee
revision: 0de83109de16d438192d93c4ceb1ba2e416c1082
remote: zephyrproject
# Import some projects listed in zephyr/west.yml@revision
#
Expand Down