linux-stable/drivers/usb/cdns3
Peter Chen be8df02707 usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
commit 2587a029fa upstream.

The other thread may access other endpoints when the cdns3_check_new_setup
is handling, add spinlock to protect it.

Cc: <stable@vger.kernel.org>
Fixes: 7733f6c32e ("usb: cdns3: Add Cadence USB3 DRD Driver")
Reviewed-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-30 15:36:50 -04:00
..
cdns3-pci-wrap.c usb: cdns3: Fix use after free in probe error handling 2019-10-04 11:02:58 +02:00
core.c usb: cdns3: Error out if USB_DR_MODE_UNKNOWN in cdns3_core_init_role() 2019-10-18 12:00:15 -07:00
core.h
debug.h
drd.c
drd.h
ep0.c usb: cdns3: ep0: add spinlock for cdns3_check_new_setup 2020-06-30 15:36:50 -04:00
gadget-export.h
gadget.c usb: cdns3: gadget: prev_req->trb is NULL for ep0 2020-05-20 08:20:31 +02:00
gadget.h
host-export.h usb: cdns3: include host-export,h for cdns3_host_init 2019-10-27 08:58:44 +02:00
host.c usb: cdns3: include host-export,h for cdns3_host_init 2019-10-27 08:58:44 +02:00
Kconfig
Makefile
trace.c
trace.h usb: cdns3: trace: using correct dir value 2020-06-30 15:36:50 -04:00