mirror of https://gitee.com/openkylin/linux.git
c9eb29503e
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
common.c | ||
common.h | ||
fifo.c | ||
fifo.h | ||
mod.c | ||
mod.h | ||
mod_gadget.c | ||
mod_host.c | ||
pipe.c | ||
pipe.h | ||
rcar2.c | ||
rcar2.h |