usb: gadget: fsl_udc: avoid can_pullup function in vbus_session
authorPreetham Chandru <pchandru@nvidia.com>
Wed, 15 Feb 2012 14:39:38 +0000 (19:39 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Thu, 23 Feb 2012 06:14:23 +0000 (22:14 -0800)
commit73dd1497bd101d10a3dd980915a8d3899d8ba5c4
tree10ab88917a1589f462f5568f8c1541f34f2c4679
parenteecc9e8b5739e7d148eed9b75623b513024cd3ff
usb: gadget: fsl_udc: avoid can_pullup function in vbus_session

avoid making a call to can_pullup function in vbus_session for non-android
gadget drivers. The mass storage gadget driver assumes that the UDCs
start with data pullup connected and the mass storage gadget
driver do not make an explicit call to usb_gadget_connect.

Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Bug 922561
Change-Id: Ifad305db861caf27b1d9c8e541c2480bb1536b6b
Reviewed-on: http://git-master/r/80076
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/fsl_udc_core.c