mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Huan Yang <link@vivo.com>
To: Jassi Brar <jassisinghbrar@gmail.com>,
	Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Orson Zhai <orsonzhai@gmail.com>,
	Baolin Wang <baolin.wang@linux.alibaba.com>,
	Chunyan Zhang <zhang.lyra@gmail.com>,
	linux-kernel@vger.kernel.org, opensource.kernel@vivo.com
Subject: Re: [PATCH v2] mailbox: sprd: Use devm_clk_get_enabled() helpers
Date: Thu, 22 Aug 2024 09:54:45 +0800	[thread overview]
Message-ID: <ed07b2cb-ed84-4f5b-bfff-e06b8f7ae967@vivo.com> (raw)
In-Reply-To: <CABb+yY3drhueGsmBt_JF+ev0rw0J1xkb0xZ5jS3qynOYra_wVw@mail.gmail.com>


在 2024/8/21 22:45, Jassi Brar 写道:
> On Wed, Aug 21, 2024 at 5:09 AM Christophe JAILLET
> <christophe.jaillet@wanadoo.fr> wrote:
>> Le 21/08/2024 à 09:08, Huan Yang a écrit :
>>> 在 2024/8/21 15:00, Christophe JAILLET 写道:
>>>> Le 21/08/2024 à 03:39, Huan Yang a écrit :
>>>>> The devm_clk_get_enabled() helpers:
>>>>>        - call devm_clk_get()
>>>>>        - call clk_prepare_enable() and register what is needed in
>>>>> order to
>>>>>         call clk_disable_unprepare() when needed, as a managed resource.
>>>>>
>>>>> This simplifies the code and avoids the calls to
>>>>> clk_disable_unprepare().
>>>>>
>>>>> Due to clk only used in probe, not in suspend\resume, this pointer can
>>>>> remove from sprd_mbox_priv to save a little memory.
>>>>>
>>>>> Signed-off-by: Huan Yang <link@vivo.com>
>>>>> Suggested-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
>>>>
>>>> Nitpick: no need to add this S-b. I just made a comment when looking
>>>> at your patch in order to improve it. I'm not the one that suggested
>>>> the initial change. All merit is yours.
>>> Your suggestion is helpfull, help this patch be better.
>>>> Also, I think that, if used, it should be above your Signed-off.
>>> Hmmm, it's neccessary? If so, I'd like to update it.
>> I don't think it is useful and personally I would remove it, but you can
>> keep it if it makes sense to you.
>>
> I think   Reviewed-by  is appropriate.
OK, I'll update it
>
> cheers!

      reply	other threads:[~2024-08-22  1:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21  1:39 Huan Yang
2024-08-21  7:00 ` Christophe JAILLET
2024-08-21  7:08   ` Huan Yang
2024-08-21 10:09     ` Christophe JAILLET
2024-08-21 14:45       ` Jassi Brar
2024-08-22  1:54         ` Huan Yang [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=ed07b2cb-ed84-4f5b-bfff-e06b8f7ae967@vivo.com \
    --to=link@vivo.com \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=jassisinghbrar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=opensource.kernel@vivo.com \
    --cc=orsonzhai@gmail.com \
    --cc=zhang.lyra@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®