]> git.dujemihanovic.xyz Git - u-boot.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)
commitdb08a1df430d5a4f87cc72901b7581b86eb89742
tree7f43c7b077e60ef1c5c55ca43e44bd2e4a2c2893
parent99faf0df0479f818530d4e995d59917e0c10dafd
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