usb: gadget: tegra: enable sw_vbus before setting run bit
authorRohith Seelaboyina <rseelaboyina@nvidia.com>
Mon, 13 May 2013 08:49:55 +0000 (13:49 +0530)
committerHarshada Kale <hkale@nvidia.com>
Tue, 14 May 2013 10:54:02 +0000 (03:54 -0700)
commit679e97fc81a10573f75fd1d7f8bc45fe76ea22db
treea3244392720dc9e0b9da9dd7b7c6b89296badf8d
parent2d5e13df9711379301e5aa7bb0b982055d429852
usb: gadget: tegra: enable sw_vbus before setting run bit

sw_vbus must be enabled before setting run bit as vbus
line goes to pmc.

Bug 1285915

Change-Id: I8299b4d3e9d0af3e406b2c618d8884c2f8eb6d68
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/227455
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/tegra_udc.c