Re: [PATCH v2 1/2] hwrng: iproc-rng200: Fix disable of the block.
From: Florian Fainelli
Date: Fri Dec 18 2020 - 12:34:43 EST
On 12/18/20 2:57 AM, matthias.bgg@xxxxxxxxxx wrote:
> From: Matthias Brugger <mbrugger@xxxxxxxx>
>
> When trying to disable the block we bitwise or the control
> register with value zero. This is confusing as using bitwise or with
> value zero doesn't have any effect at all. Drop this as we already set
> the enable bit to zero by appling inverted RNG_RBGEN_MASK.
>
> Signed-off-by: Matthias Brugger <mbrugger@xxxxxxxx>
Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian