mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
cr50: request 0mA instead of 500mA for CCD
This changes the usb descriptor to set the MaxPower to 0mA instead of 500mA. BUG=chrome-os-partner:59564 BRANCH=none TEST=Verify 'lsusb -vd 18d1:5014 | grep MaxPower' shows the power is 0mA Change-Id: Ieeb8dec6c205f4fe51392f8106b3a0ed7d3ea0a5 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/410288 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: David Schneider <dnschneid@chromium.org>
This commit is contained in:
@@ -78,6 +78,9 @@
|
||||
#define CONFIG_USB_PID 0x5014
|
||||
#define CONFIG_USB_SELF_POWERED
|
||||
|
||||
#undef CONFIG_USB_MAXPOWER_MA
|
||||
#define CONFIG_USB_MAXPOWER_MA 0
|
||||
|
||||
/* Enable SPI Master (SPI) module */
|
||||
#define CONFIG_SPI_MASTER
|
||||
#define CONFIG_SPI_MASTER_NO_CS_GPIOS
|
||||
|
||||
Reference in New Issue
Block a user