Feifei Wang 708d904451 ring: fix tail in peek API for ST mode
The value of *tail should be the prod->tail not prod->head. After
modification, it can record 'tail' so head/tail can be updated
accordingly.

Fixes: 664ff4b1729b ("ring: introduce peek style API")

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-07-01 10:41:19 +02:00
..
2020-04-21 12:52:55 +02:00
2020-04-21 12:52:55 +02:00
2020-04-21 12:52:55 +02:00
2020-04-21 12:52:55 +02:00
2020-04-21 12:52:55 +02:00
2020-04-21 12:52:55 +02:00