diff --git a/src/audio/dai-zephyr.c b/src/audio/dai-zephyr.c index 569bb37f1566..445505a6143e 100644 --- a/src/audio/dai-zephyr.c +++ b/src/audio/dai-zephyr.c @@ -1286,8 +1286,6 @@ int dai_zephyr_multi_endpoint_copy(struct dai_data **dd, struct comp_dev *dev, /* return if nothing to copy */ if (!frames) { - comp_warn(dev, "dai_zephyr_multi_endpoint_copy(): nothing to copy"); - for (i = 0; i < num_endpoints; i++) { ret = dma_reload(dd[i]->chan->dma->z_dev, dd[i]->chan->index, 0, 0, 0); if (ret < 0) { @@ -1460,19 +1458,8 @@ int dai_common_copy(struct dai_data *dd, struct comp_dev *dev, pcm_converter_fun comp_dbg(dev, "dai_common_copy(), dir: %d copy_bytes= 0x%x", dev->direction, copy_bytes); - /* Check possibility of glitch occurrence */ - if (dev->direction == SOF_IPC_STREAM_PLAYBACK && - copy_bytes + avail_bytes < dd->period_bytes) - comp_warn(dev, "dai_common_copy(): Copy_bytes %d + avail bytes %d < period bytes %d, possible glitch", - copy_bytes, avail_bytes, dd->period_bytes); - else if (dev->direction == SOF_IPC_STREAM_CAPTURE && - copy_bytes + free_bytes < dd->period_bytes) - comp_warn(dev, "dai_common_copy(): Copy_bytes %d + free bytes %d < period bytes %d, possible glitch", - copy_bytes, free_bytes, dd->period_bytes); - /* return if nothing to copy */ if (!copy_bytes) { - comp_warn(dev, "dai_zephyr_copy(): nothing to copy"); dma_reload(dd->chan->dma->z_dev, dd->chan->index, 0, 0, 0); return 0; }