]> git.baikalelectronics.ru Git - uboot.git/commit
soc: ti: k3-ringacc: Move state tracking variables under a struct
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 6 Jul 2020 07:56:22 +0000 (13:26 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 13 Jul 2020 15:28:34 +0000 (20:58 +0530)
commit0555104e7b3c206334886d13892831fcad83547f
tree7f43c7b077e60ef1c5c55ca43e44bd2e4a2c2893
parent10dcb47a3a22bb24756447196a312f1324371937
soc: ti: k3-ringacc: Move state tracking variables under a struct

Move the free, occ, windex and rinfex under a struct.
We can use memset to zero them and it will allow a cleaner way to extend
the variables for duplex rings.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/soc/ti/k3-navss-ringacc.c