[PATCH] hwrng: iproc-rng200: Implement suspend and resume calls

Herbert Xu herbert at gondor.apana.org.au
Fri Aug 18 03:24:37 PDT 2023


On Thu, Aug 10, 2023 at 12:22:08PM -0700, Florian Fainelli wrote:
> Chips such as BCM7278 support system wide suspend/resume which will
> cause the HWRNG block to lose its state and reset to its power on reset
> register values. We need to cleanup and re-initialize the HWRNG for it
> to be functional coming out of a system suspend cycle.
> 
> Fixes: c3577f6100ca ("hwrng: iproc-rng200 - Add support for BCM7278")
> Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>
> ---
>  drivers/char/hw_random/iproc-rng200.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list