mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
staging: axis-fifo: flush RX FIFO on read errors
commit82a051e255upstream. Flush stale data from the RX FIFO in case of errors, to avoid reading old data when new packets arrive. Commitc6e8d85faf("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>
This commit is contained in:
parent
8247c59cf5
commit
226082eb17
1 changed files with 11 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue