Re: [PATCH 1/3] iio: accel: bmc150: use aligned scan buffer for both trigger and fifo
From: Linus Walleij
Date: Fri Aug 14 2026 - 16:02:55 EST
On Fri, Aug 14, 2026 at 12:19 PM Yash Suthar <yashsuthar983@xxxxxxxxx> wrote:
> Drop buffer as duplicate and s16 is not correct we needed __le16 as little
> endian, keep scan at the end of the bmc150_accel_data struct with
> IIO_DMA_MINALIGN, and use it for both paths.
>
> Fixes: bd7fe5b71918 ("iio: accel: BMC150 accel support")
> Suggested-by: Jonathan Cameron <jic23@xxxxxxxxxx>
> Signed-off-by: Yash Suthar <yashsuthar983@xxxxxxxxx>
This is indeed a better way to achieve alignment.
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij