linux-bl808/drivers/usb/cdns3
Peter Chen 813072b67e usb: cdns3: trace: using correct dir value
It should use the correct direction value from register, not depends
on previous software setting. It fixed the EP number wrong issue at
trace when the TRBERR interrupt occurs for EP0IN.

When the EP0IN IOC has finished, software prepares the setup packet
request, the expected direction is OUT, but at that time, the TRBERR
for EP0IN may occur since it is DMULT mode, the DMA does not stop
until TRBERR has met.

Fixes: 7733f6c32e ("usb: cdns3: Add Cadence USB3 DRD Driver")
Cc: <stable@vger.kernel.org>
Reviewed-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Link: https://lore.kernel.org/r/20200623030918.8409-3-peter.chen@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-24 16:02:58 +02:00
..
cdns3-imx.c
cdns3-pci-wrap.c usb: cdns3: fix spelling mistake "wrapperr" -> "wrapper" 2020-03-19 15:14:48 +01:00
cdns3-ti.c usb: cdns3: Fix runtime PM imbalance on error 2020-05-25 11:09:43 +03:00
core.c usb: cdns3: change "cdsn3" to"cdns3" 2020-05-25 11:09:37 +03:00
core.h usb: cdns3: delete role_override 2020-05-25 11:09:37 +03:00
debug.h
drd.c usb: cdns3: change dev_info to dev_dbg for debug message 2020-05-25 11:09:37 +03:00
drd.h
ep0.c usb: cdns3: ep0: fix the test mode set incorrectly 2020-06-24 16:02:58 +02:00
gadget-export.h
gadget.c USB: changes for v5.8 merge window 2020-05-25 13:28:20 +02:00
gadget.h usb: cdns3: make signed 1 bit bitfields unsigned 2020-03-26 15:05:44 +01:00
host-export.h
host.c
Kconfig
Makefile
trace.c
trace.h usb: cdns3: trace: using correct dir value 2020-06-24 16:02:58 +02:00