Commits
Peter Chen committed 965bde26867
MLK-23181-1 usb: cdns3: gadget: using num_mapped_sgs for scatter list For some systems, the iommu or swiotlb is used, the sg list may not the same between before and after DMA map. So we should use num_mapped_sgs for DMA since it is the final DMA mapped sg list for hardware. Reviewed-by: Jun Li <jun.li@nxp.com> Reported-by: Zhang Sanshan <pete.zhang@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>