commit | abc6b579048e2084ea28c677dd11106d67fe8498 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@nxp.com> | Thu Sep 10 17:11:23 2020 +0800 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Oct 02 09:57:45 2020 +0300 |
tree | aeb73ba0accfa3a31d0da5939290f68d25bdb2f6 | |
parent | 31b5de5f3799a6d1656c0ed3f9ec2c8432eeaeac [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>