Skip to content

Commit a550157

Browse files
smalaefabiobaltieri
authored andcommitted
drivers: dma: siwx917: Fix bug in registering application callbacks
Resolved an issue where application callbacks were not being properly registered in the DMA driver. Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
1 parent 444964e commit a550157

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/dma/dma_silabs_siwx91x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ static int dma_siwx91x_configure(const struct device *dev, uint32_t channel,
192192
if (status) {
193193
return status;
194194
}
195+
data->dma_callback = config->dma_callback;
196+
data->cb_data = config->user_data;
195197
return 0;
196198
}
197199

0 commit comments

Comments
 (0)