linux/drivers/usb/renesas_usbhs
Yoshihiro Shimoda 14a8d4bfc2 usb: renesas_usbhs: gadget: fix spin_lock_init() for &uep->lock
This patch fixes an issue that the spin_lock_init() is not called
for almost all pipes. Otherwise, the lockdep output the following
message when we connect a usb cable using g_ncm:

 INFO: trying to register non-static key.
 the code is fine but needs lockdep annotation.
 turning off the locking correctness validator.

Reported-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Fixes: b8b9c974af ("usb: renesas_usbhs: gadget: disable all eps when the driver stops")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-08-15 14:18:55 +03:00
..
common.c usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL 2017-07-19 10:38:16 +03:00
common.h
fifo.c usb: renesas_usbhs: cleanup with list_first_entry_or_null() 2016-11-03 10:38:37 +02:00
fifo.h
Kconfig
Makefile
mod_gadget.c usb: renesas_usbhs: gadget: fix spin_lock_init() for &uep->lock 2017-08-15 14:18:55 +03:00
mod_host.c usb: renesas_usbhs: mod_host: fix typo: "connecte" -> "connected" 2017-01-24 11:04:08 +02:00
mod.c usb: renesas_usbhs: fix clearing the {BRDY,BEMP}STS condition 2016-09-05 13:39:23 +03:00
mod.h
pipe.c usb: renesas_usbhs: pipe: don't print on ENOMEM 2016-08-30 19:17:39 +02:00
pipe.h
rcar2.c
rcar2.h
rcar3.c usb: renesas_usbhs: add wait after initialization for R-Car Gen3 2016-10-24 14:35:46 +02:00
rcar3.h