Files
linux/drivers/fpga
Marek Szyprowski 37e0070322 zynq_fpga: use sgtable-based scatterlist wrappers
Use common wrappers operating directly on the struct sg_table objects to
fix incorrect use of statterlists related calls. dma_unmap_sg() function
has to be called with the number of elements originally passed to the
dma_map_sg() function, not the one returned in sgtable's nents.

CC: [email protected]
Fixes: 425902f5c8 ("fpga zynq: Use the scatterlist interface")
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Xu Yilun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xu Yilun <[email protected]>
2025-06-18 10:36:55 +08:00
..
2021-07-21 19:54:21 -07:00
2024-03-31 22:44:21 +08:00