From: <Conor.Dooley@microchip.com>
To: <alexandre.belloni@bootlin.com>, <a.zummo@towertech.it>,
<christophe.jaillet@wanadoo.fr>, <Daire.McNamara@microchip.com>,
<Conor.Dooley@microchip.com>
Cc: <linux-kernel@vger.kernel.org>, <kernel-janitors@vger.kernel.org>,
<linux-riscv@lists.infradead.org>, <linux-rtc@vger.kernel.org>
Subject: Re: [PATCH] rtc: mpfs: Use devm_clk_get_enabled() helper
Date: Thu, 13 Oct 2022 21:34:25 +0000 [thread overview]
Message-ID: <5d78b5ac-ee87-102d-f234-c9a51d53d111@microchip.com> (raw)
In-Reply-To: <166569636075.1226796.3261311337977278707.b4-ty@bootlin.com>
On 13/10/2022 22:32, Alexandre Belloni wrote:
> On Wed, 24 Aug 2022 10:18:25 +0200, Christophe JAILLET wrote:
>> The devm_clk_get_enabled() helper:
>> - calls devm_clk_get()
>> - calls clk_prepare_enable() and registers what is needed in order to
>> call clk_disable_unprepare() when needed, as a managed resource.
>>
>> This simplifies the code, the error handling paths and avoid the need of
>> a dedicated function used with devm_add_action_or_reset().
>>
>> [...]
>
> Applied, thanks!
>
> [1/1] rtc: mpfs: Use devm_clk_get_enabled() helper
> commit: 24fb316155a5f6ba278a8b110c60e67b79900356
>
> Best regards,
>
While this is on my mind, making the rtc's ahb clock critical came
up in previous discussion about this patch. A fix for that was applied
to v6.0.
Thanks,
Conor.
prev parent reply other threads:[~2022-10-13 21:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-24 8:18 Christophe JAILLET
2022-08-24 9:58 ` Conor.Dooley
2022-08-24 10:53 ` Alexandre Belloni
2022-08-24 12:27 ` Conor.Dooley
2022-08-24 11:27 ` Christophe JAILLET
2022-08-24 11:46 ` Conor.Dooley
2022-08-24 12:28 ` Alexandre Belloni
2022-08-24 13:25 ` Christophe JAILLET
2022-10-13 21:32 ` Alexandre Belloni
2022-10-13 21:34 ` Conor.Dooley [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=5d78b5ac-ee87-102d-f234-c9a51d53d111@microchip.com \
--to=conor.dooley@microchip.com \
--cc=Daire.McNamara@microchip.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-rtc@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
all inboxes | Powered by JetHome®