summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-05 20:19:17 +0000
committerTheodore Ts'o <tytso@mit.edu>2012-07-19 10:38:31 -0400
commit9dccf55f4cb011a7552a8a2749a580662f5ed8ed (patch)
treecb6002c78787c636617fdc23e089e88d05c77c87 /drivers/mfd
parent330e0a01d54c2b8606c56816f99af6ebc58ec92c (diff)
downloadop-kernel-dev-9dccf55f4cb011a7552a8a2749a580662f5ed8ed.zip
op-kernel-dev-9dccf55f4cb011a7552a8a2749a580662f5ed8ed.tar.gz
rtc: wm831x: Feed the write counter into device_add_randomness()
The tamper evident features of the RTC include the "write counter" which is a pseudo-random number regenerated whenever we set the RTC. Since this value is unpredictable it should provide some useful seeding to the random number generator. Only do this on boot since the goal is to seed the pool rather than add useful entropy. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud