linux/drivers/staging/axis-fifo
Ovidiu Panait 226082eb17 staging: axis-fifo: flush RX FIFO on read errors
commit 82a051e255 upstream.

Flush stale data from the RX FIFO in case of errors, to avoid reading
old data when new packets arrive.

Commit c6e8d85faf ("staging: axis-fifo: Remove hardware resets for
user errors") removed full FIFO resets from the read error paths, which
fixed potential TX data losses, but introduced this RX issue.

Fixes: c6e8d85faf ("staging: axis-fifo: Remove hardware resets for user errors")
Cc: stable@vger.kernel.org
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Link: https://lore.kernel.org/r/20250912101322.1282507-2-ovidiu.panait.oss@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-12 13:01:56 +02:00
..
axis-fifo.c staging: axis-fifo: flush RX FIFO on read errors 2025-10-12 13:01:56 +02:00
axis-fifo.txt staging: axis-fifo: avoid parsing ignored device tree properties 2019-11-03 13:09:01 +01:00
Kconfig staging: axis-fifo: add unspecified HAS_IOMEM dependency 2019-12-17 09:22:11 +01:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
README staging: add driver for Xilinx AXI-Stream FIFO v4.1 IP core 2018-07-24 14:14:13 +02:00