summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2017-08-09 19:55:24 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-03 08:12:15 +0200
commitf64b2e49912ac953b318f6f3f043c22d68a70b49 (patch)
tree47647c1da14550c8b51cb4429ffbd867d70c2afd /lib
parent962857706730ee41ab37ea62c4c06944a9dcbaca (diff)
usb: renesas_usbhs: gadget: fix spin_lock_init() for &uep->lock
commit 14a8d4bfc2102f85ce097563d151370c91c1898a upstream. 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: b8b9c974afee ("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> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions