Ioana Ciornei 7596ac9d19 soc: fsl: dpio: properly compute the consumer index
Mask the consumer index before using it. Without this, we would be
writing frame descriptors beyond the ring size supported by the QBMAN
block.

Fixes: 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-07 17:35:24 -07:00
..
2020-04-17 17:20:44 +02:00
2020-03-16 15:07:19 -07:00
2020-04-03 15:05:35 -07:00
2019-07-19 17:13:56 -07:00
2020-03-25 20:56:55 +01:00
2020-04-03 10:49:52 -07:00