fpga2hps_fifo driver-KFIFO not reset on exit
Performing 2 acquisition in a row, the second one fetches the remaining data of the first one because on the exit of the user application the KFIFO in not reset.
Command sequence to reproduce the issue: (first terminal) dd if=/dev/fpga2hps_fifo of=/mnt/data/fuffa.txt count=5 bs=16 (second terminal) bregacc wr 0xff201020 0x00000181 0x00000FFF (first terminal) dd if=/dev/fpga2hps_fifo of=/mnt/data/fuffa.txt count=5 bs=16
Even if the FPGA2HPS_FIFO IP is under reset, the KFIFO level is not zero.