All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: Linux-omap-open-source@linux.omap.com
Subject: Re: omap clock.h question
Date: Tue, 7 Feb 2006 14:29:38 -0800	[thread overview]
Message-ID: <20060207222938.GG27148@atomide.com> (raw)
In-Reply-To: <EA12F909C0431D458B9D18A176BEE4A504365B3D@dlee02.ent.ti.com>

* Woodruff, Richard <r-woodruff2@ti.com> [060207 14:07]:
> > I believe he meant just to hide the clock number for mmc 1 or 2. But I
> > guess we still need to have different naming for omap1 and omap2.
> 
> Like I was saying you could hide both the slot and the names.
> 
>  for(i=data.slot[slot].num_clks; i>0; i--)
>  {
> 	ck = clk_get(data.slot.clk_name[i-1])
> 	if(ck != NULL)
> 	clk_enabl(ck);
>  }
> 
> That way we don't care the name or how many.  It gets rid of some if
> statements anyway.

But one of the clocks can be off more often than the other from PM point
of view.

Tony

  reply	other threads:[~2006-02-07 22:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-07 22:06 omap clock.h question Woodruff, Richard
2006-02-07 22:29 ` Tony Lindgren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-07 22:57 Woodruff, Richard
2006-02-07 23:12 ` Tony Lindgren
2006-02-07 21:41 Woodruff, Richard
2006-02-07 21:53 ` Tony Lindgren
2006-02-07 18:59 Brian Swetland
2006-02-07 20:52 ` Tony Lindgren
2006-02-07 21:10   ` Brian Swetland
2006-02-07 21:27     ` Tony Lindgren

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=20060207222938.GG27148@atomide.com \
    --to=tony@atomide.com \
    --cc=Linux-omap-open-source@linux.omap.com \
    --cc=r-woodruff2@ti.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.