RE: [PATCH] musb: fix power field to hold all possible values

Gadiyar, Anand
2010-02-23T09:57:45Z

Felipe Balbi wrote:

> Hi,
>
> On Tue, Feb 23, 2010 at 03:16:44PM +0530, Ajay Kumar Gupta wrote:
> > MUSB can supply upto 500mA such as, AM3517 and OMAP3EVM Rev >=E and thus
> > the 'power' field has to hold values above 255.
>
> power on the arch code is same as bMaxPower it will be multiplied by two
> on musb_core.c. See line 150 of that file.
>
> Meaning 500mA is set to 250 on the board-file.
>

Any reason we have the "multiply by 2" there?

- Anand