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

Felipe Balbi
2010-02-23T11:04:11Z

Hi,

On Tue, Feb 23, 2010 at 03:27:39PM +0530, Gadiyar, Anand wrote:
> > 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?

no big reason. It's just legacy code. Maybe it's to keep consistency
with the gadget framework, donno.

--
balbi