[ Upstream commit 21779cc21c732c5eff8ea1624be6590450baa30f ]
The next call to sii8620_burst_get_tx_buf will result in off-by-one
When ctx->burst.tx_count + size == ARRAY_SIZE(ctx->burst.tx_buf). The same
thing happens in sii8620_burst_get_rx_buf.
This patch also change tx_count and tx_buf to rx_count and rx_buf in
sii8620_burst_get_rx_buf. It is unreasonable to check tx_buf's size and
use rx_buf.
Fixes:
|
||
|---|---|---|
| .. | ||
| adv7511 | ||
| analogix | ||
| cadence | ||
| synopsys | ||
| Kconfig | ||
| Makefile | ||
| cdns-dsi.c | ||
| chrontel-ch7033.c | ||
| display-connector.c | ||
| lontium-lt9611.c | ||
| lvds-codec.c | ||
| megachips-stdpxxxx-ge-b850v3-fw.c | ||
| nwl-dsi.c | ||
| nwl-dsi.h | ||
| nxp-ptn3460.c | ||
| panel.c | ||
| parade-ps8622.c | ||
| parade-ps8640.c | ||
| sii902x.c | ||
| sii9234.c | ||
| sil-sii8620.c | ||
| sil-sii8620.h | ||
| simple-bridge.c | ||
| tc358762.c | ||
| tc358764.c | ||
| tc358767.c | ||
| tc358768.c | ||
| tc358775.c | ||
| thc63lvd1024.c | ||
| ti-sn65dsi86.c | ||
| ti-tfp410.c | ||
| ti-tpd12s015.c | ||