usb: gadget: android:honor CONFIG_GADGET_VBUS_DRAW
authorRakesh Bodla <rbodla@nvidia.com>
Mon, 22 Oct 2012 14:31:58 +0000 (19:31 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 23 Oct 2012 22:51:28 +0000 (15:51 -0700)
commitde726e2e3feef9d70863cb8d1a54c71252b43dd1
tree3f8bf21cfac8b7f78507fc2004f9d8c4aa2a266e
parentc7879e80078c85c06a4102a30239f15286e33557
usb: gadget: android:honor CONFIG_GADGET_VBUS_DRAW

Let the usb core handle whether device
is self powered or bus powered.

Bug 1130924

Change-Id: I01c4480b3dcc3777b5723107461521a3afcd39eb
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/146501
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/android.c