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: 3 additions & 3 deletions src/kernel/probe/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ __cold static int probe_dma_init(struct probe_dma_ext *dma, uint32_t direction)
if (err < 0)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off missing

return err;

channel = dma_request_channel(dma->dc.dmac->z_dev, &channel);
if (channel < 0) {
err = dma_request_channel(dma->dc.dmac->z_dev, &channel);
if (err < 0) {
tr_err(&pr_tr, "dma_request_channel() failed");
return -EINVAL;
}
dma->dc.chan = &dma->dc.dmac->chan[channel];
dma->dc.chan = &dma->dc.dmac->chan[err];

/* initialize dma buffer */
err = probe_dma_buffer_init(&dma->dmapb, PROBE_BUFFER_LOCAL_SIZE, addr_align);
Expand Down
Loading