mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-09 23:48:28 +00:00
According to the gadget.h, a "complete" function will always be called with interrupts disabled. However, sometimes usbhsg_queue_pop() function is called with interrupts enabled. So, this function should be held by usbhs_lock() to disable interruption. Also, this driver has to call spin_unlock() to avoid spinlock recursion by this driver before calling usb_gadget_giveback_request(). Otherwise, there is possible to cause a spinlock suspected in a gadget complete function. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com> |
||
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| fifo.c | ||
| fifo.h | ||
| Kconfig | ||
| Makefile | ||
| mod_gadget.c | ||
| mod_host.c | ||
| mod.c | ||
| mod.h | ||
| pipe.c | ||
| pipe.h | ||
| rcar2.c | ||
| rcar2.h | ||