From: David Brownell <david-b@pacbell.net>
To: "Felipe Balbi" <felipebalbi@users.sourceforge.net>
Cc: "Felipe Balbi" <felipe.balbi@nokia.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: HAVE_CLK (for <linux/clk.h> support)
Date: Tue, 27 May 2008 18:41:16 -0700 [thread overview]
Message-ID: <200805271841.16793.david-b@pacbell.net> (raw)
In-Reply-To: <31e679430805271701h73ee1eb2p80329900008827f8@mail.gmail.com>
On Tuesday 27 May 2008, Felipe Balbi wrote:
> >
> > I don't know of any other drivers with this particular issue,
> > but nonetheless ... I think the following is an appropriate
> > resolution.
> >
> > Comments from anyone else?
>
> I actually like it. I didn't see this error cuz I was only building
> musb for arm architecture.
>
> But why only davinci and omap?
They're the only one affected by the musb_hdrc patch...
> What about: mach-aaec2000, mach-at91, mach-ep93xx, mach-integrator,
> mach-lh7a40x, mach-ns9xxx, mach-pnx4008, mach-pxa, mach-realview,
> mach-sa1100, mach-versatile, mach-s3c24x.
If this approach goes forward, I'd expect those platforms
to "select HAVE_CLK" too. Ditto some SH, PowerPC, etc.
> Instead of making the driver dependant on HAVE_CLK (which would be
> true for virtually any driver comming from linux-omap), you could make
> clk_enable a nop in case arch doesn't HAVE_CLK. How does that sound?
Best done by #ifdef HAVE_CLK in <linux/clk.h> support, and
putting the stubs there. However, since those platforms
don't actually have clocks, I'd make them all report errors
of whichever kind.
That's kind of a second-order question to "should we create
a HAVE_CLK in Kconfig". Since Certain People have objected
to patches touching <linux/clk.h> I avoided doing that the
first time around ... it'd be a better solution, yes.
- Dave
next prev parent reply other threads:[~2008-05-28 1:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200805231044.59969.david-b@pacbell.net>
[not found] ` <1211879340-22013-1-git-send-email-felipe.balbi@nokia.com>
2008-05-27 23:14 ` HAVE_CLK (for <linux/clk.h> support) David Brownell
2008-05-28 0:01 ` Felipe Balbi
2008-05-28 1:41 ` David Brownell [this message]
2008-09-01 9:48 ` Bryan Wu
2008-09-01 10:00 ` Felipe Balbi
2008-09-01 10:05 ` Bryan Wu
2008-09-01 10:12 ` Felipe Balbi
2008-05-28 0:05 ` 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=200805271841.16793.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=felipe.balbi@nokia.com \
--cc=felipebalbi@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox