]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: axis-fifo: Remove hardware resets for user errors
authorGabriel Shahrouzi <gshahrouzi@gmail.com>
Sat, 19 Apr 2025 00:43:06 +0000 (20:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 May 2025 06:20:36 +0000 (08:20 +0200)
commit632c789764d9fffd05d1caa24f60b5c851223646
tree91f58b5a371a1ffd08bad8bcc1392d87778d6ed0
parent2cb6a49a46f05076a6740c96bdf5596f77eab531
staging: axis-fifo: Remove hardware resets for user errors

commit c6e8d85fafa7193613db37da29c0e8d6e2515b13 upstream.

The axis-fifo driver performs a full hardware reset (via
reset_ip_core()) in several error paths within the read and write
functions. This reset flushes both TX and RX FIFOs and resets the
AXI-Stream links.

Allow the user to handle the error without causing hardware disruption
or data loss in other FIFO paths.

Fixes: 4a965c5f89de ("staging: add driver for Xilinx AXI-Stream FIFO v4.1 IP core")
Cc: stable@vger.kernel.org
Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
Link: https://lore.kernel.org/r/20250419004306.669605-1-gshahrouzi@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/axis-fifo/axis-fifo.c