summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/kionix-kx022a.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-10 08:49:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-10 08:49:26 +0200
commit5790d407daa30356669758180b68144a9518da0a (patch)
tree8e1cf20718103f6593418b1e80b1f74a2cd15fb6 /drivers/iio/accel/kionix-kx022a.c
parenta8642cd11635a35a5f1dc31857887900d6610778 (diff)
parent09a9639e56c01c7a00d6c0ca63f4c7c41abe075d (diff)
downloadlwn-5790d407daa30356669758180b68144a9518da0a.tar.gz
lwn-5790d407daa30356669758180b68144a9518da0a.zip
Merge 6.3-rc6 into char-misc-next
We need it here to apply other char/misc driver changes to. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/accel/kionix-kx022a.c')
-rw-r--r--drivers/iio/accel/kionix-kx022a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/kionix-kx022a.c b/drivers/iio/accel/kionix-kx022a.c
index f866859855cd..1c3a72380fb8 100644
--- a/drivers/iio/accel/kionix-kx022a.c
+++ b/drivers/iio/accel/kionix-kx022a.c
@@ -864,7 +864,7 @@ static irqreturn_t kx022a_trigger_handler(int irq, void *p)
if (ret < 0)
goto err_read;
- iio_push_to_buffers_with_timestamp(idev, data->buffer, pf->timestamp);
+ iio_push_to_buffers_with_timestamp(idev, data->buffer, data->timestamp);
err_read:
iio_trigger_notify_done(idev->trig);