usb: gadget: tegra: free resources in case of error
authorSri Krishna chowdary <schowdary@nvidia.com>
Mon, 29 Oct 2012 12:54:52 +0000 (17:54 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 1 Nov 2012 02:20:03 +0000 (19:20 -0700)
commit080ed85cc83a4b89a4dd2b98e9d99b75ed2934d2
tree9166bba95a4f4bca29044f37f74fd67fb1b8ff09
parent5ae340cd11ee178768494d74eb8233ff35ce4713
usb: gadget: tegra: free resources in case of error

Bug 1046331

Change-Id: Ic4f4665c77f2dc3b4c5aeb0e9be5b9e9173fddb0
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159552
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/usb/gadget/tegra_udc.c