All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <me@felipebalbi.com>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: "me@felipebalbi.com" <me@felipebalbi.com>,
	"Gupta, Ajay Kumar" <ajay.gupta@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] musb: fix power field to hold all possible values
Date: Tue, 23 Feb 2010 13:04:02 +0200	[thread overview]
Message-ID: <20100223110401.GA11891@gandalf> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB0321A20364@dbde02.ent.ti.com>

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


  reply	other threads:[~2010-02-23 11:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-23  9:46 [PATCH] musb: fix power field to hold all possible values Ajay Kumar Gupta
2010-02-23  9:51 ` Felipe Balbi
2010-02-23  9:57   ` Gadiyar, Anand
2010-02-23 11:04     ` Felipe Balbi [this message]
2010-02-23 14:31   ` Gupta, Ajay Kumar
2010-02-23 20:32     ` Felipe Balbi
2010-02-25 22:19       ` Tony Lindgren
2010-02-26  4:32         ` Gupta, Ajay Kumar
2010-03-23 11:41           ` Gupta, Ajay Kumar
2010-03-23 12:39             ` Felipe Balbi
2010-03-24  8:11 ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100223110401.GA11891@gandalf \
    --to=me@felipebalbi.com \
    --cc=ajay.gupta@ti.com \
    --cc=gadiyar@ti.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.