dma_map_sgtable() returns only 0 or the error code. Read sgt->nents to
get the number of mapped segments.
Fixes:
|
||
|---|---|---|
| .. | ||
| tests | ||
| Kconfig | ||
| Makefile | ||
| altera-cvp.c | ||
| altera-fpga2sdram.c | ||
| altera-freeze-bridge.c | ||
| altera-hps2fpga.c | ||
| altera-pr-ip-core-plat.c | ||
| altera-pr-ip-core.c | ||
| altera-ps-spi.c | ||
| dfl-afu-dma-region.c | ||
| dfl-afu-error.c | ||
| dfl-afu-main.c | ||
| dfl-afu-region.c | ||
| dfl-afu.h | ||
| dfl-fme-br.c | ||
| dfl-fme-error.c | ||
| dfl-fme-main.c | ||
| dfl-fme-mgr.c | ||
| dfl-fme-perf.c | ||
| dfl-fme-pr.c | ||
| dfl-fme-pr.h | ||
| dfl-fme-region.c | ||
| dfl-fme.h | ||
| dfl-n3000-nios.c | ||
| dfl-pci.c | ||
| dfl.c | ||
| dfl.h | ||
| fpga-bridge.c | ||
| fpga-mgr.c | ||
| fpga-region.c | ||
| ice40-spi.c | ||
| intel-m10-bmc-sec-update.c | ||
| lattice-sysconfig-spi.c | ||
| lattice-sysconfig.c | ||
| lattice-sysconfig.h | ||
| machxo2-spi.c | ||
| microchip-spi.c | ||
| of-fpga-region.c | ||
| socfpga-a10.c | ||
| socfpga.c | ||
| stratix10-soc.c | ||
| ts73xx-fpga.c | ||
| versal-fpga.c | ||
| xilinx-core.c | ||
| xilinx-core.h | ||
| xilinx-pr-decoupler.c | ||
| xilinx-selectmap.c | ||
| xilinx-spi.c | ||
| zynq-fpga.c | ||
| zynqmp-fpga.c | ||