public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Francesco VIRLINZI <francesco.virlinzi@st.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: clock framework update, fix count and kill off kref
Date: Mon, 11 May 2009 07:34:21 +0000	[thread overview]
Message-ID: <4A07D4FD.8060008@st.com> (raw)
In-Reply-To: <20090508082329.30220.74580.sendpatchset@rx1.opensource.se>

Hi Paul
Few days ago I had a discussion with Magnus on the current status of the 
clock framework
and both we agree to change how the .init call back should work.

The design I have in mind is:
 - the .init callback should be called during the clk_registration and
   if the init fails the clock framework rejects the clock.
 - Any operations with (CLK_NEEDS_INIT)  has to be managed internally to
   the clock-SOC implementation via archflag (or a void* private_data) 
to hive any
   implementation issue at clock framework level.

Magnus, Do you want add anything?
Paul, Do you have some issue on this design?

Regards
 Francesco


Paul Mundt ha scritto:
> On Fri, May 08, 2009 at 05:23:29PM +0900, Magnus Damm wrote:
>   
>> This patch updates the clock framework use count code.
>> With this patch the enable() and disable() callbacks
>> only get called when counting from and to zero.
>> While at it the kref stuff gets replaced with an int.
>>     


  parent reply	other threads:[~2009-05-11  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08  8:23 [PATCH] sh: clock framework update, fix count and kill off kref Magnus Damm
2009-05-08 14:30 ` Paul Mundt
2009-05-11  7:34 ` Francesco VIRLINZI [this message]
2009-05-11  8:36 ` Magnus Damm
2009-05-11  8:41 ` Francesco VIRLINZI

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=4A07D4FD.8060008@st.com \
    --to=francesco.virlinzi@st.com \
    --cc=linux-sh@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