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)
commitaf374c24d94b96e524fe7184d24f223bf7dc2677
tree883182aacae49b0c9b327359ca186da6072b207b
parentb3f95997cefbfd53dcb02df95dcb03462430bcb6
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