diff options
author | Ye Xiang <xiang.ye@intel.com> | 2021-01-05 17:35:13 +0800 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-22 08:52:04 +0000 |
commit | a6bea3d5fe6ff483199da4badce159e2ed78bfa7 (patch) | |
tree | 841f9b2d0458763cca062f873bff0b71bc858738 /drivers/iio/orientation/hid-sensor-rotation.c | |
parent | 314f7cad1ad20ebcc3a0a1520bdea567b87e0186 (diff) | |
download | lwn-a6bea3d5fe6ff483199da4badce159e2ed78bfa7.tar.gz lwn-a6bea3d5fe6ff483199da4badce159e2ed78bfa7.zip |
iio: hid-sensor-magn-3d: Add timestamp channel
Each sample has a timestamp field with this change. This timestamp may
be from the sensor hub when present or local kernel timestamp. And the
unit of timestamp is nanosecond.
Signed-off-by: Ye Xiang <xiang.ye@intel.com>
Link: https://lore.kernel.org/r/20210105093515.19135-5-xiang.ye@intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/orientation/hid-sensor-rotation.c')
0 files changed, 0 insertions, 0 deletions