Hi Andy,

I found that stable tracking usb_curlim was zero because of this and the
battery was not getting charged by default.

CONFIG_USB_GADGET_VBUS_DRAW was introduced in .27-rc6 I guess.

Signed-off-by: Balaji Rao <[EMAIL PROTECTED]>

diff --git a/arch/arm/configs/gta02-moredrivers-defconfig 
b/arch/arm/configs/gta02-moredrivers-defconfig
index 7ac6c0f..92d3099 100644
--- a/arch/arm/configs/gta02-moredrivers-defconfig
+++ b/arch/arm/configs/gta02-moredrivers-defconfig
@@ -1514,7 +1514,7 @@ CONFIG_USB_GADGET=y
 # CONFIG_USB_GADGET_DEBUG is not set
 # CONFIG_USB_GADGET_DEBUG_FILES is not set
 # CONFIG_USB_GADGET_DEBUG_FS is not set
-CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_VBUS_DRAW=500
 CONFIG_USB_GADGET_SELECTED=y
 # CONFIG_USB_GADGET_AT91 is not set
 # CONFIG_USB_GADGET_ATMEL_USBA is not set

Reply via email to