mfd: Use AB3100 MFD core IRQ for interrupt randomness
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 19 Jan 2010 10:41:52 +0000 (11:41 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Mar 2010 21:17:10 +0000 (22:17 +0100)
commit2071db4848ea809887e97248dd3dec02a2e3dd6b
tree6af9118a691d9d68da42004e29e834fa3d2508d5
parent6048a3dd2371c58611ea0ab8b306f8f1469399ae
mfd: Use AB3100 MFD core IRQ for interrupt randomness

This reintroduces the entropy sampling of the AB3100 IRQ as the
IRQF_SAMPLE_RANDOM is going out according to the feature removal
schedule. I'm trying to do this the right way then, so CC:ing some
random people for a quick review. We add entropy for interrupt
events in the AB3100 which are truly random in nature, like
external cables being connected, voltages on batteries dropping
below certain ranges, ADC triggers or overheating.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Robin Getz <rgetz@blackfin.uclinux.org>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/ab3100-core.c