From: "Péter Ujfalusi" <peter.ujfalusi@gmail.com>
To: Janusz Krzysztofik <jmkrzyszt@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org,
Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: [PATCH v2] ASoC: ti: osk5912: Make it CCF clk API compatible
Date: Tue, 12 Apr 2022 21:16:13 +0300 [thread overview]
Message-ID: <cfae1549-560d-7ac6-bafd-2e55a3ae5c5e@gmail.com> (raw)
In-Reply-To: <20220407191202.46206-1-jmkrzyszt@gmail.com>
On 07/04/2022 22:12, Janusz Krzysztofik wrote:
> The driver, OMAP1 specific, now omits clk_prepare/unprepare() steps, not
> supported by OMAP1 custom implementation of clock API. However, non-CCF
> stubs of those functions exist for use on such platforms until converted
> to CCF.
>
> Update the driver to be compatible with CCF implementation of clock API.
>
> v2: use clk_prepare_enable/clk_disable_unprepare() (Peter)
Does the changelogn needs to be in the commit message?
I almost missed the V2 as it came as a reply to a thread ;)
Other than the nitpick with the changlog placement:
Looks good but I can not test it,
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
>
> Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
> ---
> sound/soc/ti/osk5912.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/ti/osk5912.c b/sound/soc/ti/osk5912.c
> index 40e29dda7e7a..2790c8915f55 100644
> --- a/sound/soc/ti/osk5912.c
> +++ b/sound/soc/ti/osk5912.c
> @@ -27,12 +27,12 @@ static struct clk *tlv320aic23_mclk;
>
> static int osk_startup(struct snd_pcm_substream *substream)
> {
> - return clk_enable(tlv320aic23_mclk);
> + return clk_prepare_enable(tlv320aic23_mclk);
> }
>
> static void osk_shutdown(struct snd_pcm_substream *substream)
> {
> - clk_disable(tlv320aic23_mclk);
> + clk_disable_unprepare(tlv320aic23_mclk);
> }
>
> static int osk_hw_params(struct snd_pcm_substream *substream,
--
Péter
next prev parent reply other threads:[~2022-04-12 18:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-02 12:01 [PATCH] ASoC: ti: osk5912: Make it CCF clk API compatible Janusz Krzysztofik
2022-04-06 19:57 ` Péter Ujfalusi
2022-04-06 22:18 ` Janusz Krzysztofik
2022-04-07 19:12 ` [PATCH v2] " Janusz Krzysztofik
2022-04-12 18:16 ` Péter Ujfalusi [this message]
2022-04-12 22:26 ` Mark Brown
2022-04-12 22:26 ` [PATCH] " Mark Brown
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=cfae1549-560d-7ac6-bafd-2e55a3ae5c5e@gmail.com \
--to=peter.ujfalusi@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jmkrzyszt@gmail.com \
--cc=lgirdwood@gmail.com \
--cc=linux-omap@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