linux/drivers/staging
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 staging: axis-fifo: flush RX FIFO on read errors 2025-10-12 13:01:56 +02:00
fbtft staging: fbtft: cleanup error handling in fbtft_framebuffer_alloc() 2025-07-09 13:11:07 +02:00
gpib Staging changes for 6.17-rc1 2025-07-29 10:03:10 -07:00
greybus treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
iio IIO: New device support, features and cleanup for 6.16 - take 2 2025-05-22 15:54:52 +02:00
media [GIT PULL for v6.17] media updates 2025-07-31 13:16:09 -07:00
most staging: most: Remove TODO contact information 2024-11-10 08:03:31 +01:00
nvec staging: nvec: Fix incorrect null termination of battery manufacturer 2025-07-24 11:29:57 +02:00
octeon staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
rtl8723bs Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
sm750fb staging: sm750fb: fix CamelCase variable naming 2025-07-24 11:28:29 +02:00
vc04_services staging: vchiq_arm: Make vchiq_shutdown never fail 2025-07-16 09:36:50 +02:00
vme_user staging: vme_user: fix spelling errors 2025-07-24 11:28:26 +02:00
Kconfig staging: fieldbus: Delete unused driver 2024-11-04 00:53:07 +01:00
Makefile staging: fieldbus: Delete unused driver 2024-11-04 00:53:07 +01:00