]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/usb/dwc2/gadget.c
usb: gadget: s3c-hsotg: fix spinlock locking
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 21 Nov 2013 12:49:17 +0000 (13:49 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 16:25:57 +0000 (10:25 -0600)
commit93f599f279ab56b1761c76e53f9753b26aeefe9e
treed790d1312d54076a798eee95596480bee0f43a08
parentaf9f51c5512f9d55972603dd5dd90d0fa300b200
usb: gadget: s3c-hsotg: fix spinlock locking

This patch adds missing spinlock locking in s3c_hsotg_complete_setup function,
and unlocking for gadget setup call.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c