]> git.ipfire.org Git - thirdparty/linux.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>
Fri, 25 Apr 2025 14:14:25 +0000 (16:14 +0200)
commitc6e8d85fafa7193613db37da29c0e8d6e2515b13
tree03286dcfc808097cb8ab719e68605c1343b2ba58
parent2ca34b508774aaa590fc3698a54204706ecca4ba
staging: axis-fifo: Remove hardware resets for user errors

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