mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 21:44:06 +08:00
iio: st_sensors: fix typo in comment
s/timetamping/timestamping/ Cc: trivial@kernel.org Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.kernel.org/r/20210121153945.5499-1-a.fatoum@pengutronix.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
c972c2d821
commit
f40e800530
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user