Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: ti: k3-udma: Fix BCDMA for case w/o BCHAN

Reusing loop iterator fails if BCHAN is not present as iterator is
uninitialized

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20221213164304.1126945-3-vigneshr@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Vignesh Raghavendra and committed by
Vinod Koul
4c7f3ca1 58617149

+3
+3
drivers/dma/ti/k3-udma.c
··· 4774 4774 irq_res.desc[i].num = rm_res->desc[i].num; 4775 4775 } 4776 4776 } 4777 + } else { 4778 + i = 0; 4777 4779 } 4780 + 4778 4781 if (ud->tchan_cnt) { 4779 4782 rm_res = tisci_rm->rm_ranges[RM_RANGE_TCHAN]; 4780 4783 if (IS_ERR(rm_res)) {