Skip to content
Merged
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
4 changes: 3 additions & 1 deletion src/drivers/dw-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,11 @@ static int dw_dma_stop(struct dma *dma, int channel)
{
struct dma_pdata *p = dma_get_drvdata(dma);
int ret = 0;
uint32_t flags;
#if DW_USE_HW_LLI
int i = 0;
struct dw_lli2 *lli;
uint32_t flags;
#endif

spin_lock_irq(&dma->lock, flags);

Expand Down