Skip to content
Open
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
6 changes: 6 additions & 0 deletions src/audio/chain_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ static int chain_host_start(struct comp_dev *dev)
struct chain_dma_data *cd = comp_get_drvdata(dev);
int err;

if (!cd->chan_host || !cd->chan_host->dma) {
comp_err(dev, "incomplete initialization detected, aborting host %p",
cd->chan_host);
return -ENODEV;
}
Comment thread
lyakh marked this conversation as resolved.

err = dma_start(cd->chan_host->dma->z_dev, cd->chan_host->index);
if (err < 0)
return err;
Expand Down
Loading