[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250724121703.03b29d3b@jic23-huawei>
Date: Thu, 24 Jul 2025 12:17:03 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Nuno Sá <noname.nuno@...il.com>
Cc: David Lechner <dlechner@...libre.com>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] iio: accel: bma180: use stack allocated buffer for
scan
On Tue, 22 Jul 2025 10:12:04 +0100
Nuno Sá <noname.nuno@...il.com> wrote:
> On Mon, Jul 21, 2025 at 06:16:34PM -0500, David Lechner wrote:
> > Move the scan struct to the stack instead of being in the driver state
> > struct. The buffer is only used in a single function and does not need
> > to be DMA-safe so it does not need to exist outside of that function's
> > scope.
> >
> > Signed-off-by: David Lechner <dlechner@...libre.com>
> > ---
> > Changes in v2:
> > - Preserve the struct instead of using IIO_DECLARE_BUFFER_WITH_TS()
> > - Did not pick up Andy's review tag since the entire patch changed.
> > - Link to v1: https://lore.kernel.org/r/20250710-iio-use-more-iio_declare_buffer_with_ts-v1-1-df6498f54095@baylibre.com
> > ---
>
> Reviewed-by: Nuno Sá <nuno.sa@...log.com>
>
Applied to the testing branch of iio.git.
Thanks,
J
Powered by blists - more mailing lists