aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/soc/ti/knav_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c
index e05ab16d9a9e..6285cd8efb21 100644
--- a/drivers/soc/ti/knav_dma.c
+++ b/drivers/soc/ti/knav_dma.c
@@ -598,7 +598,7 @@ static int pktdma_init_chan(struct knav_dma_device *dma,
598 598
599 INIT_LIST_HEAD(&chan->list); 599 INIT_LIST_HEAD(&chan->list);
600 chan->dma = dma; 600 chan->dma = dma;
601 chan->direction = DMA_NONE; 601 chan->direction = DMA_TRANS_NONE;
602 atomic_set(&chan->ref_count, 0); 602 atomic_set(&chan->ref_count, 0);
603 spin_lock_init(&chan->lock); 603 spin_lock_init(&chan->lock);
604 604