usb: gadget: tegra: check vbus before run bit set
authorRohith Seelaboyina <rseelaboyina@nvidia.com>
Wed, 12 Sep 2012 08:52:15 +0000 (13:52 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:34:31 +0000 (12:34 -0700)
commit65744a14ee19558cc198a1bdbc9b599bb444415c
tree5c5ddb39a472d6f379a51933f5b516a047fd048c
parent40b221b3888f8d609e7a04f0046faa37ed74f64c
usb: gadget: tegra: check vbus before run bit set

Adding the check for vbus before setting the
run bit.

Bug 1046443

Reviewed-on: http://git-master/r/131733
(cherry picked from commit e2dcc0fff0bde89eced1482f3df763bfc7afd3a2)

Change-Id: Ie88ad2ab60b0e8c7691d5b66e52f9ee6c19d34fa
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/132210
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R6414284b141a301c4d20df288f247a367ee9eaef
drivers/usb/gadget/tegra_udc.c