linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: st_sensors: fix typo in comment
@ 2021-01-21 15:39 Ahmad Fatoum
  2021-01-24 14:24 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2021-01-21 15:39 UTC (permalink / raw)
  To: linux-kernel
  Cc: trivial, Ahmad Fatoum, Jonathan Cameron, Lars-Peter Clausen,
	Peter Meerwald-Stadler, linux-iio

s/timetamping/timestamping/

Cc: trivial@kernel.org
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/iio/common/st_sensors/st_sensors_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/common/st_sensors/st_sensors_buffer.c b/drivers/iio/common/st_sensors/st_sensors_buffer.c
index eee30130ae23..802f9ae04cf4 100644
--- a/drivers/iio/common/st_sensors/st_sensors_buffer.c
+++ b/drivers/iio/common/st_sensors/st_sensors_buffer.c
@@ -57,7 +57,7 @@ irqreturn_t st_sensors_trigger_handler(int irq, void *p)
 	s64 timestamp;
 
 	/*
-	 * If we do timetamping here, do it before reading the values, because
+	 * If we do timestamping here, do it before reading the values, because
 	 * once we've read the values, new interrupts can occur (when using
 	 * the hardware trigger) and the hw_timestamp may get updated.
 	 * By storing it in a local variable first, we are safe.
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: st_sensors: fix typo in comment
  2021-01-21 15:39 [PATCH] iio: st_sensors: fix typo in comment Ahmad Fatoum
@ 2021-01-24 14:24 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2021-01-24 14:24 UTC (permalink / raw)
  To: Ahmad Fatoum
  Cc: linux-kernel, trivial, Lars-Peter Clausen,
	Peter Meerwald-Stadler, linux-iio

On Thu, 21 Jan 2021 16:39:44 +0100
Ahmad Fatoum <a.fatoum@pengutronix.de> wrote:

> s/timetamping/timestamping/
> 
> Cc: trivial@kernel.org
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Applied,

Thanks,

Jonathan

> ---
>  drivers/iio/common/st_sensors/st_sensors_buffer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/common/st_sensors/st_sensors_buffer.c b/drivers/iio/common/st_sensors/st_sensors_buffer.c
> index eee30130ae23..802f9ae04cf4 100644
> --- a/drivers/iio/common/st_sensors/st_sensors_buffer.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_buffer.c
> @@ -57,7 +57,7 @@ irqreturn_t st_sensors_trigger_handler(int irq, void *p)
>  	s64 timestamp;
>  
>  	/*
> -	 * If we do timetamping here, do it before reading the values, because
> +	 * If we do timestamping here, do it before reading the values, because
>  	 * once we've read the values, new interrupts can occur (when using
>  	 * the hardware trigger) and the hw_timestamp may get updated.
>  	 * By storing it in a local variable first, we are safe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-24 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 15:39 [PATCH] iio: st_sensors: fix typo in comment Ahmad Fatoum
2021-01-24 14:24 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).