Re: [PATCH 1/3] iio: accel: bmc150: use aligned scan buffer for both trigger and fifo
Linus Walleij <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAD++jL=NGDd9h82ZMDwWSFLA5vC2vPxCna5RD=+__AAcCaigdw@mail.gmail.com> |
On Fri, Aug 14, 2026 at 12:19 PM Yash Suthar <[email protected]> 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 <[email protected]> > Signed-off-by: Yash Suthar <[email protected]> This is indeed a better way to achieve alignment. Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij