usb: cdns3: gadget: improve the dump TRB operation at cdns3_ep_run_transfer
authorPeter Chen <peter.chen@nxp.com>
Thu, 10 Sep 2020 09:11:24 +0000 (17:11 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 2 Oct 2020 06:57:45 +0000 (09:57 +0300)
commit4e218882eb5a967ea042ca68069140d2c969971a
tree7beb4ddfda626127bb253ba40e1164c56d9c1cf4
parentabc6b579048e2084ea28c677dd11106d67fe8498
usb: cdns3: gadget: improve the dump TRB operation at cdns3_ep_run_transfer

It only dumps the first TRB per request, it is not useful if only dump
the first TRB when there are several TRBs per request. We improve it by
dumpping all TRBs per request in this commit.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/gadget.c