usb: gadget: tegra: remove extra spin_unlock/lock
authorRohith Seelaboyina <rseelaboyina@nvidia.com>
Mon, 18 Nov 2013 06:37:01 +0000 (11:37 +0530)
committerRohith Seelaboyina <rseelaboyina@nvidia.com>
Thu, 28 Nov 2013 10:28:58 +0000 (02:28 -0800)
commitba241f585e66f0b408e91d8baa51db7afd660d11
tree482613e8df77ef7c76c2426861d43b4f0369baa0
parent7f1961d7ee3970ab81f9e5a026a881d0fede58aa
usb: gadget: tegra: remove extra spin_unlock/lock

Remove the extra spin_unlock and spin_lock pair
in done() API because as per the documentation of complete()
It should be called with interrupts disabled and
It must not sleep.

Bug 1401730

Change-Id: I82d0a89ffe609e9aa8814fb9b61a83d741c3fbf9
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/333916
(cherry picked from commit 10f32cf3e8cfb61d060fd6279688739077f59588)
Reviewed-on: http://git-master/r/335567
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/tegra_udc.c