Re: [PATCH 2/3] iio: accel: bmc150: use DMA-safe buffers for regmap bulk reads

Linus Walleij <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <CAD++jLmWtYLuATn6+sGUtGfSryTVphHVKKv0Vc=g-FpHvd3=9Q@mail.gmail.com>
On Fri, Aug 14, 2026 at 12:19 PM Yash Suthar <[email protected]> wrote:

> The FIFO and read_raw buffers are passed to regmap bulk/raw reads
> ,which is not DMA-safe.Moved them into struct bmc150_accel_data
> after scan, each aligned to IIO_DMA_MINALIGN.
>
> Suggested-by: Jonathan Cameron <[email protected]>
> Signed-off-by: Yash Suthar <[email protected]>

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.