Re: [PATCH v3] char: hw_random: atmel-rng: disable TRNG during suspend

2016-10-31 Thread Herbert Xu
On Fri, Oct 28, 2016 at 04:00:46PM +0800, Wenyou Yang wrote: > To fix the over consumption on the VDDCore due to the TRNG enabled, > disable the TRNG during suspend, not only disable the user interface > clock (which is controlled by PMC). Because the user interface clock > is independent from any

[PATCH v3] char: hw_random: atmel-rng: disable TRNG during suspend

2016-10-28 Thread Wenyou Yang
To fix the over consumption on the VDDCore due to the TRNG enabled, disable the TRNG during suspend, not only disable the user interface clock (which is controlled by PMC). Because the user interface clock is independent from any clock that may be used in the entropy source logic circuitry. Signed