commit | 09701e3edf03f92f4215aad83b32cd8cec7fb689 | [log] [tgz] |
---|---|---|
author | Scott Anderson <saa@google.com> | Wed Jan 18 15:56:51 2012 -0800 |
committer | Benoit Goby <benoit@android.com> | Wed Jan 25 17:13:15 2012 -0800 |
tree | b4af4f1e6abbac862ac3d8c808b4ad150a0d0df1 | |
parent | a6ccb73389f3df11e788bf84254a7b27c430f949 [diff] |
usb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW The maximum current draw was hard coded to 500 mA. composite.c has code that uses CONFIG_USB_GADGET_VBUS_DRAW to set the bMaxPower and to set whether or not the device is self-powered if they haven't been set. This change removes the code in android.c to allow composite.c to set them. Change-Id: I9db37922e91ee86e9e5c0e14519e119e5c41ca48 Signed-off-by: Scott Anderson <saa@google.com>