patch "iio: imu: adis16550: align buffers for timestamp" added to char-misc-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
iio: imu: adis16550: align buffers for timestamp
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
From e4570f4bb231f01e32d44fd38841665f340d6914 Mon Sep 17 00:00:00 2001
From: David Lechner <[email protected]>
Date: Fri, 18 Apr 2025 11:17:13 -0500
Subject: iio: imu: adis16550: align buffers for timestamp
Align the buffers used with iio_push_to_buffers_with_timestamp() to ensure the s64 timestamp is aligned to 8 bytes.
--- drivers/iio/imu/adis16550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/imu/adis16550.c +1 -1
@@ -836,7 +836,7 @@ static irqreturn_t adis16550_trigger_handler(int irq, void *p)u16 dummy;bool valid;struct iio_poll_func *pf = p; -__be32 data[ADIS16550_MAX_SCAN_DATA ]; +__be32 data[ADIS16550_MAX_SCAN_DATA ]__aligned(8) ;struct iio_dev *indio_dev = pf->indio_dev;struct adis16550 *st =iio_priv (indio_dev);struct adis *adis =iio_device_get_drvdata (indio_dev);
Signature · 1 line
2.49.0