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)
committerVarun Colbert <vcolbert@nvidia.com>
Thu, 13 Sep 2012 02:07:44 +0000 (19:07 -0700)
commite2dcc0fff0bde89eced1482f3df763bfc7afd3a2
treef697e3c95e3ed32e466e290ebdf93fedb4f5eb3a
parentb3595d04747d71e494bc0dbc64175d9645d193ad
usb: gadget: tegra: check vbus before run bit set

Adding the check for vbus before setting the
run bit.

Bug 1046443

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