linux_dsm_epyc7002/drivers/usb/renesas_usbhs
Yoshihiro Shimoda c9eb29503e usb: renesas_usbhs: gadget: Fix NULL pointer dereference in usbhsg_ep_dequeue()
This patch fixes an issue that NULL pointer dereference happens when
a gadget driver calls usb_ep_dequeue() for ep0 after disconnected
a usb cable. This is because that usbhsg_try_stop() will call
usbhsg_ep_disable(&dcp->ep) when a usb cable is disconnected and
the pipe of dcp (ep0) is set to NULL.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-11-19 14:48:48 -06:00
..
common.c usb: renesas_usbhs: Add support for R-Car H3 2015-09-30 11:21:11 -05:00
common.h
fifo.c
fifo.h
Kconfig
Makefile
mod_gadget.c usb: renesas_usbhs: gadget: Fix NULL pointer dereference in usbhsg_ep_dequeue() 2015-11-19 14:48:48 -06:00
mod_host.c
mod.c
mod.h
pipe.c
pipe.h
rcar2.c usb: renesas_usbhs: Remove unneeded #include <linux/platform_data/gpio-rcar.h> 2015-10-20 16:03:36 +02:00
rcar2.h