Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/audio/dai-legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ int dai_common_new(struct dai_data *dd, struct comp_dev *dev, const struct ipc_c

dd->dai = dai_get(dai->type, dai->dai_index, DAI_CREAT);
if (!dd->dai) {
comp_cl_err(&comp_dai, "dai_new(): dai_get() failed to create DAI.");
comp_cl_err(&comp_dai, "dai_common_new(): dai_get() failed to create DAI.");
return -ENODEV;
}
dd->dai->dd = dd;
Expand All @@ -169,7 +169,7 @@ int dai_common_new(struct dai_data *dd, struct comp_dev *dev, const struct ipc_c

dd->dma = dma_get(dir, caps, dma_dev, DMA_ACCESS_SHARED);
if (!dd->dma) {
comp_cl_err(&comp_dai, "dai_new(): dma_get() failed to get shared access to DMA.");
comp_cl_err(&comp_dai, "dai_common_new(): dma_get() failed to get shared access to DMA.");
return -ENODEV;
}

Expand Down
4 changes: 2 additions & 2 deletions src/audio/host-legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ int host_common_new(struct host_data *hd, struct comp_dev *dev,

hd->dma = dma_get(dir, 0, DMA_DEV_HOST, DMA_ACCESS_SHARED);
if (!hd->dma) {
comp_err(dev, "host_new(): dma_get() returned NULL");
comp_err(dev, "host_common_new(): dma_get() returned NULL");
return -ENODEV;
}

Expand All @@ -552,7 +552,7 @@ int host_common_new(struct host_data *hd, struct comp_dev *dev,

hd->msg = ipc_msg_init(hd->posn.rhdr.hdr.cmd, hd->posn.rhdr.hdr.size);
if (!hd->msg) {
comp_err(dev, "host_new(): ipc_msg_init failed");
comp_err(dev, "host_common_new(): ipc_msg_init failed");
dma_put(hd->dma);
return -ENOMEM;
}
Expand Down