Re: [PATCH v2 1/3] iio: accel: bmc150: use aligned scan buffer for both trigger and fifo

From: Linus Walleij

Date: Mon Aug 17 2026 - 08:15:29 EST


On Sat, Aug 15, 2026 at 7:57 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>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij