RE: omap_musb_board_data -- trouble specifying 500mA supply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
> -----Original Message-----
> From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Cliff Brake
> Sent: Wednesday, April 28, 2010 7:40 PM
> To: Linux OMAP Users
> Subject: omap_musb_board_data -- trouble specifying 500mA supply
> 
> Hello,
> 
> We are designing a custom OMAP board that will have a 500mA supply on
> the OTG port.  It looks like the power is set with:
> 
> struct omap_musb_board_data {
> 	u8	interface_type;
> 	u8	mode;
> 	u8	power;
> };
> 
> However, with a u8, the max value is 255.  Should power be changed to a
> u16?

There is already a fix submitted and is available at Greg's queue,
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb.current/musb-fix-power-field-to-hold-all-possible-values.patch

Ajay
> 
> Thanks,
> Cliff
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux