[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZG3jhMbn/hKozan0@gondor.apana.org.au>
Date: Wed, 24 May 2023 18:14:28 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Martin Kaiser <martin@...ser.cx>
Cc: linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/3] hwrng: imx-rngc - simplify register definitions
On Fri, May 19, 2023 at 06:04:30PM +0200, Martin Kaiser wrote:
> This series simplifies some definitions for register bits and fields. We can
> then use the FIELD_GET macro to read register fields instead of masking and
> shifting manually.
>
> Tested on an imx258 board (rngb).
>
> v2:
> - simpler check if random bytes are available
>
> Martin Kaiser (3):
> hwrng: imx-rngc - simpler check for available random bytes
> hwrng: imx-rngc - use bitfield macros to read rng type
> hwrng: imx-rngc - use BIT(x) for register bit defines
>
> drivers/char/hw_random/imx-rngc.c | 35 +++++++++++++------------------
> 1 file changed, 15 insertions(+), 20 deletions(-)
>
> --
> 2.30.2
All applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists