[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240602193310.GE387181@vamoiridPC>
Date: Sun, 2 Jun 2024 21:33:10 +0200
From: Vasileios Amoiridis <vassilisamir@...il.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Vasileios Amoiridis <vassilisamir@...il.com>, lars@...afoo.de,
himanshujha199640@...il.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 13/17] iio: chemical: bme680: Add read buffers in DMA
safe region
On Sun, Jun 02, 2024 at 01:59:08PM +0100, Jonathan Cameron wrote:
> On Mon, 27 May 2024 20:38:01 +0200
> Vasileios Amoiridis <vassilisamir@...il.com> wrote:
>
> > Move the buffers that are used in order to read data from the
> > device in a DMA-safe region. Also create defines for the number
> > of bytes that are being read from the device and don't use
> > magic numbers.
> >
> > Signed-off-by: Vasileios Amoiridis <vassilisamir@...il.com>
>
> Same response as previous. I don't think it's necessary because
> of the custom regmap implementation.
>
> My first instinct was the same as yours though!
>
> Jonathan
>
>
Well, even if we end up not needing it, I would keep the values inside
the union just becasue it saves some space, and it keeps all the read
buffers in the same place. What do you think?
Cheers,
Vasilis
Powered by blists - more mailing lists