Skip to content

Commit b68d97a

Browse files
softwareckilgirdwood
authored andcommitted
zephyr: audio: dai: Use correct print format for result code
Use signed format when displaying an int error code. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent cea4ac3 commit b68d97a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/audio/dai-zephyr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,10 +1671,10 @@ int dai_common_copy(struct dai_data *dd, struct comp_dev *dev, pcm_converter_fun
16711671
case -EPIPE:
16721672
/* DMA status can return -EPIPE and current status content if xrun occurs */
16731673
if (dev->direction == SOF_IPC_STREAM_PLAYBACK)
1674-
comp_dbg(dev, "dma_get_status() underrun occurred, ret = %u",
1674+
comp_dbg(dev, "dma_get_status() underrun occurred, ret = %d",
16751675
ret);
16761676
else
1677-
comp_dbg(dev, "dma_get_status() overrun occurred, ret = %u",
1677+
comp_dbg(dev, "dma_get_status() overrun occurred, ret = %d",
16781678
ret);
16791679
break;
16801680
default:

0 commit comments

Comments
 (0)