OpenCloudOS-Kernel/drivers/usb/cdns3
Peter Chen d0b78265ca usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
The other thread may access other endpoints when the cdns3_check_new_setup
is handling, add spinlock to protect it.

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-4-peter.chen@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-24 16:02:58 +02:00
..
Kconfig usb: cdns3: add NXP imx8qm glue layer 2020-01-15 10:39:22 +01:00
Makefile usb: cdns3: add NXP imx8qm glue layer 2020-01-15 10:39:22 +01:00
cdns3-imx.c usb: cdns3: add NXP imx8qm glue layer 2020-01-15 10:39:22 +01:00
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 usb: cdns3: fix spelling mistake and rework grammar in text 2020-01-24 09:41:27 +01:00
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: add spinlock for cdns3_check_new_setup 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 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
trace.c
trace.h usb: cdns3: trace: using correct dir value 2020-06-24 16:02:58 +02:00