From: Philipp Zabel <p.zabel@pengutronix.de>
To: "Fabrice Gasnier" <fabrice.gasnier@foss.st.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Alexandre Torgue" <alexandre.torgue@foss.st.com>
Cc: linux-pwm@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pwm: stm32: Implement .get_state()
Date: Tue, 18 Jul 2023 16:29:10 +0200 [thread overview]
Message-ID: <6032fcba75d34b0273508166c8b79331cd5c34ef.camel@pengutronix.de> (raw)
In-Reply-To: <dac9c545-fcbc-3aec-c341-abc62f551703@foss.st.com>
Hi Fabrice,
On Fr, 2023-06-09 at 15:06 +0200, Fabrice Gasnier wrote:
[...]
> > @@ -635,7 +675,10 @@ static int stm32_pwm_probe(struct platform_device *pdev)
> >
> > priv->chip.dev = dev;
> > priv->chip.ops = &stm32pwm_ops;
> > - priv->chip.npwm = stm32_pwm_detect_channels(priv);
> > + priv->chip.npwm = stm32_pwm_detect_channels(priv, &n_enabled);
> > +
>
> I'd suggest to comment a bit here, to explain it initializes the PWM
> counter clock refcount in sync with PWM initial state left by the
> bootloader.
>
> In all case, this is fine for me, you can add my:
> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Thank you, I'll add a comment here.
regards
Philipp
next prev parent reply other threads:[~2023-07-18 14:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 14:06 Philipp Zabel
2023-06-09 13:06 ` Fabrice Gasnier
2023-06-09 14:21 ` Uwe Kleine-König
2023-07-18 14:29 ` Philipp Zabel [this message]
2023-06-14 7:33 ` Uwe Kleine-König
2023-07-18 14:29 ` Philipp Zabel
2023-07-18 7:30 ` Thierry Reding
2023-07-18 14:29 ` Philipp Zabel
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=6032fcba75d34b0273508166c8b79331cd5c34ef.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=alexandre.torgue@foss.st.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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®