diff options
| author | Gabriel Shahrouzi <[email protected]> | 2025-04-19 01:29:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-04-25 14:14:15 +0000 |
| commit | 2ca34b508774aaa590fc3698a54204706ecca4ba (patch) | |
| tree | ee4d292c86ee454d7dd7859c73d8aa04397d5e10 /tools/perf/scripts/python/flamegraph.py | |
| parent | staging: bcm2835-camera: Initialise dev in v4l2_dev (diff) | |
| download | kernel-2ca34b508774aaa590fc3698a54204706ecca4ba.tar.gz kernel-2ca34b508774aaa590fc3698a54204706ecca4ba.zip | |
staging: axis-fifo: Correct handling of tx_fifo_depth for size validation
Remove erroneous subtraction of 4 from the total FIFO depth read from
device tree. The stored depth is for checking against total capacity,
not initial vacancy. This prevented writes near the FIFO's full size.
The check performed just before data transfer, which uses live reads of
the TDFV register to determine current vacancy, correctly handles the
initial Depth - 4 hardware state and subsequent FIFO fullness.
Fixes: 4a965c5f89de ("staging: add driver for Xilinx AXI-Stream FIFO v4.1 IP core")
Cc: [email protected]
Signed-off-by: Gabriel Shahrouzi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
