diff options
author | Ovidiu Panait <ovidiu.panait.oss@gmail.com> | 2025-09-12 13:13:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-12 14:01:04 +0300 |
commit | 83ec8462410e795777f3a565bde637c0ad1ebb9e (patch) | |
tree | f2d87551e380c4b2812e647dfa3c5906ff4cfb2f /scripts/lib/kdoc/kdoc_parser.py | |
parent | 0673f4b1f42f7983b623b4d16ada831160b28da7 (diff) | |
download | linux-83ec8462410e795777f3a565bde637c0ad1ebb9e.tar.xz |
staging: axis-fifo: flush RX FIFO on read errors
commit 82a051e2553b9e297cba82a975d9c538b882c79e upstream.
Flush stale data from the RX FIFO in case of errors, to avoid reading
old data when new packets arrive.
Commit c6e8d85fafa7 ("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: c6e8d85fafa7 ("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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions