On Mon, 22 Nov 2021 10:00:19 +
Paul Cercueil wrote:
> Hi Jonathan,
>
> Le dim., nov. 21 2021 at 14:08:23 +, Jonathan Cameron
> a écrit :
> > On Mon, 15 Nov 2021 14:19:13 +
> > Paul Cercueil wrote:
> >
> >> We know that the buffer's alignment will always be a power of two;
> >>
Hi Jonathan,
Le dim., nov. 21 2021 at 14:08:23 +, Jonathan Cameron
a écrit :
On Mon, 15 Nov 2021 14:19:13 +
Paul Cercueil wrote:
We know that the buffer's alignment will always be a power of two;
therefore, we can use the faster round_down() macro.
Signed-off-by: Paul Cercueil
On Mon, 15 Nov 2021 14:19:13 +
Paul Cercueil wrote:
> We know that the buffer's alignment will always be a power of two;
> therefore, we can use the faster round_down() macro.
>
> Signed-off-by: Paul Cercueil
*groan*. I don't want to know where the naming of these two came from but that
is
On Mon, Nov 15, 2021 at 4:19 PM Paul Cercueil wrote:
>
> We know that the buffer's alignment will always be a power of two;
> therefore, we can use the faster round_down() macro.
>
Reviewed-by: Alexandru Ardelean
> Signed-off-by: Paul Cercueil
> ---
> drivers/iio/buffer/industrialio-buffer-dm
We know that the buffer's alignment will always be a power of two;
therefore, we can use the faster round_down() macro.
Signed-off-by: Paul Cercueil
---
drivers/iio/buffer/industrialio-buffer-dmaengine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/buffer/indus