All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <felipe.balbi@nokia.com>
To: "Balbi Felipe (Nokia-D/Helsinki)" <felipe.balbi@nokia.com>
Cc: "ext Gupta, Ajay Kumar" <ajay.gupta@ti.com>,
	Dmitry Krivoschekov <dmitry.krivoschekov@gmail.com>,
	no To-header on input <"unlisted-recipients:;"@gmail.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"tony@atomide.com" <tony@atomide.com>
Subject: Re: [PATCH 2/2] ehci: Fix EHCI init for OMAP3EVM
Date: Mon, 6 Jul 2009 12:53:28 +0300	[thread overview]
Message-ID: <20090706095328.GS8461@nokia.com> (raw)
In-Reply-To: <20090706095059.GQ8461@nokia.com>

On Mon, Jul 06, 2009 at 11:50:59AM +0200, Balbi Felipe (Nokia-D/Helsinki) wrote:
> Hi,
> 
> On Mon, Jul 06, 2009 at 10:55:05AM +0200, ext Gupta, Ajay Kumar wrote:
> > Looks better but if USB itself is not included in the build then this part of code would be unnecessary in board-omap3evm.c. We again need to add some #ifdef there to avoid this.
> > 
> > Another solution is to add something like board_is_omap3evm() in <mach/board.h> and use them in usb-ehci.c.
> > 
> > Felipe, what do you suggest?
> 
> how about passing setup() and cleanup() function pointers from
> board-file to the driver via platform_data ?
> 
> the board-specific setup() could handle the mux config then.

looking more closely, it doesn't make sense what I said...

I need to think this through a little bit more, but I guess, for now the
ifdef is the way to go to, at least, get the board working.

I'll think this through.

-- 
balbi

      reply	other threads:[~2009-07-06  9:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06  7:58 [PATCH 2/2] ehci: Fix EHCI init for OMAP3EVM Ajay Kumar Gupta
     [not found] ` <4A51B500.1080004@gmail.com>
2009-07-06  8:55   ` Gupta, Ajay Kumar
2009-07-06  9:50     ` Felipe Balbi
2009-07-06  9:53       ` Felipe Balbi [this message]

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=20090706095328.GS8461@nokia.com \
    --to=felipe.balbi@nokia.com \
    --cc="unlisted-recipients:;"@gmail.com \
    --cc=ajay.gupta@ti.com \
    --cc=dmitry.krivoschekov@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /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.