From: William Breathitt Gray <wbg@kernel.org>
To: Lee Jones <lee@kernel.org>
Cc: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Fabrice Gasnier" <fabrice.gasnier@foss.st.com>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
linux-pwm@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
"Thorsten Scherer" <T.Scherer@eckelmann.de>
Subject: Re: [PATCH v2 3/5] counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x)
Date: Thu, 20 Jun 2024 17:59:07 +0900 [thread overview]
Message-ID: <ZnPvW6Zx69wVjNRS@ishi> (raw)
In-Reply-To: <20240620084451.GC3029315@google.com>
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
On Thu, Jun 20, 2024 at 09:44:51AM +0100, Lee Jones wrote:
> On Wed, 19 Jun 2024, Uwe Kleine-König wrote:
>
> > These two defines have the same purpose and this change doesn't
> > introduce any differences in drivers/counter/stm32-timer-cnt.o.
> >
> > The only difference between the two is that
> >
> > TIM_DIER_CC_IE(1) == TIM_DIER_CC2IE
> >
> > while
> >
> > TIM_DIER_CCxIE(1) == TIM_DIER_CC1IE
> >
> > . That makes it necessary to have an explicit "+ 1" in the user code,
> > but IMHO this is a good thing as this is the code locatation that
> > "knows" that for software channel 1 you have to use TIM_DIER_CC2IE
> > (because software guys start counting at 0, while the relevant hardware
> > designer started at 1).
> >
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> > ---
> > drivers/counter/stm32-timer-cnt.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Did you drop William's Ack on purpose?
>
> --
> Lee Jones [李琼斯]
No problem, here it is again for the sake of the LKML scraper tools:
Acked-by: William Breathitt Gray <wbg@kernel.org>
Lee, do you prefer taking this patchset through your tree?
William Breathitt Gray
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-06-20 8:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 10:11 [PATCH v2 0/5] mfd: stm32-timers: Make register definition more flexible Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 1/5] mfd: stm32-timers: Unify alignment of register definition Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 2/5] mfd: stm32-timers: Add some register definitions with a parameter Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 3/5] counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x) Uwe Kleine-König
2024-06-20 8:44 ` Lee Jones
2024-06-20 8:59 ` William Breathitt Gray [this message]
2024-06-20 9:32 ` Lee Jones
2024-06-20 10:34 ` Uwe Kleine-König
2024-06-20 17:38 ` Lee Jones
2024-06-20 20:56 ` Uwe Kleine-König
2024-06-26 19:43 ` Uwe Kleine-König
2024-06-26 19:55 ` Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 4/5] mfd: stm32-timers: Drop unused TIM_DIER_CC_IE Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 5/5] pwm-stm32: Make use of parametrised register definitions Uwe Kleine-König
2024-06-26 15:13 ` [PATCH v2 0/5] mfd: stm32-timers: Make register definition more flexible Lee Jones
2024-06-28 14:28 ` [GIT PULL] Immutable branch between MFD and Counter due for the v5.11 merge window Lee Jones
2024-06-28 15:31 ` Uwe Kleine-König
2024-07-03 1:44 ` William Breathitt Gray
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=ZnPvW6Zx69wVjNRS@ishi \
--to=wbg@kernel.org \
--cc=T.Scherer@eckelmann.de \
--cc=alexandre.torgue@foss.st.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.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=u.kleine-koenig@baylibre.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