Skip to content

Commit ad932fe

Browse files
committed
dma: Correct the return type
Signed-off-by: Dong Wang <dong.d.wang@intel.com>
1 parent 2f53344 commit ad932fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp_sedi/drivers/dma/sedi_dma_ann_1p0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ int32_t sedi_dma_start_transfer_polling(IN sedi_dma_t dma_device,
730730
DBG_CHECK(channel_id < DMA_CHANNEL_NUM, SEDI_DRIVER_ERROR_PARAMETER);
731731
DBG_CHECK(length <= DMA_MAX_BLOCK_SIZE, SEDI_DRIVER_ERROR_PARAMETER);
732732

733-
uint32_t ret;
733+
int32_t ret;
734734
volatile dma_ann_1p0_regs_t *regs = resources[dma_device].regs;
735735
volatile dma_chan_reg_t *chan_regs = &(regs->chan_reg[channel_id]);
736736
sedi_dma_event_cb_t cb = dma_context[dma_device].cb_event[channel_id];

0 commit comments

Comments
 (0)