linux_dsm_epyc7002/drivers/usb/gadget/udc
Yoshihiro Shimoda 781001ff96 usb: gadget: udc: renesas_usb3: protect usb3_ep->started in usb3_start_pipen()
This patch fixes an issue that unexpected behavior happens when
both the interrupt handler and renesas_usb3_ep_enable() are called.
In this case, since usb3_start_pipen() checked the usb3_ep->started,
but the flags was not protected. So, this patch protects the flag
by usb3->lock. Since renesas_usb3_ep_enable() for EP0 will be not called,
this patch doesn't take care of usb3_start_pipe0().

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-07-18 16:20:31 +03:00
..
bdc
amd5536udc_pci.c
amd5536udc.h
at91_udc.c
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
bcm63xx_udc.c
core.c
dummy_hcd.c
fotg210-udc.c
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c
fsl_usb2_udc.h
fusb300_udc.c
fusb300_udc.h
goku_udc.c
goku_udc.h
gr_udc.c
gr_udc.h
Kconfig
lpc32xx_udc.c
m66592-udc.c
m66592-udc.h
Makefile
mv_u3d_core.c
mv_u3d.h
mv_udc_core.c
mv_udc.h
net2272.c
net2272.h
net2280.c
net2280.h
omap_udc.c
omap_udc.h
pch_udc.c
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
pxa27x_udc.h
r8a66597-udc.c
r8a66597-udc.h
renesas_usb3.c usb: gadget: udc: renesas_usb3: protect usb3_ep->started in usb3_start_pipen() 2017-07-18 16:20:31 +03:00
s3c2410_udc.c
s3c2410_udc.h
s3c-hsudc.c
snps_udc_core.c
snps_udc_plat.c
trace.c
trace.h
udc-xilinx.c