]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: imu: inv_mpu6050: align buffer for timestamp
authorDavid Lechner <dlechner@baylibre.com>
Thu, 17 Apr 2025 16:52:39 +0000 (11:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Apr 2025 15:03:34 +0000 (16:03 +0100)
commit1d2d8524eaffc4d9a116213520d2c650e07c9cc6
tree1be91afb1bc5bd23e7f86f84b6f0abb4dfcf9992
parent4551383e78d59b34eea3f4ed28ad22df99e25d59
iio: imu: inv_mpu6050: align buffer for timestamp

Align the buffer used with iio_push_to_buffers_with_timestamp() to
ensure the s64 timestamp is aligned to 8 bytes.

Fixes: 0829edc43e0a ("iio: imu: inv_mpu6050: read the full fifo when processing data")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250417-iio-more-timestamp-alignment-v1-7-eafac1e22318@baylibre.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c