summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2020-09-10 17:11:23 +0800
committerFelipe Balbi <balbi@kernel.org>2020-10-02 09:57:45 +0300
commitabc6b579048e2084ea28c677dd11106d67fe8498 (patch)
treeaeb73ba0accfa3a31d0da5939290f68d25bdb2f6 /drivers/usb/cdns3/cdns3-pci-wrap.c
parent31b5de5f3799a6d1656c0ed3f9ec2c8432eeaeac (diff)
usb: cdns3: gadget: using correct sg operations
It needs to use request->num_mapped_sgs to indicate mapped sg number, the request->num_sgs is the sg number before the mapping. These two entries have different values for the platforms which iommu or swiotlb is used. Besides, it needs to use correct sg APIs for mapped sg list for TRB assignment. Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions