Skip to content

Commit

Permalink
audio: fix trace function names
Browse files Browse the repository at this point in the history
Don't lead people astray.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
  • Loading branch information
cujomalainey committed Oct 10, 2024
1 parent d2cf7c3 commit 659b62f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 659b62f

Please sign in to comment.