]> git.baikalelectronics.ru Git - uboot.git/commit
dma: ti: k3-udma: Introduce udma_chan_config struct
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 6 Jul 2020 07:56:25 +0000 (13:26 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 13 Jul 2020 15:28:34 +0000 (20:58 +0530)
commit66c3377264cf9505e04b045016ddce1301b34c52
tree883182aacae49b0c9b327359ca186da6072b207b
parent3ce40cc67629e677eddd3d428da033073aac7b34
dma: ti: k3-udma: Introduce udma_chan_config struct

Encapsulate channel configuration in a separate struct so as to ease
resetting of these fields with memset() and also to increase readability
of the code.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/dma/ti/k3-udma.c