hwrng: omap3-rom - convert timer to delayed work
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 18 Nov 2015 19:59:01 +0000 (21:59 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Nov 2015 12:55:54 +0000 (20:55 +0800)
commit4c13ac1cf0e40c1fea8993354e54822ef643425e
tree546ba7ff47448880ca37ab54a0aa3185ff46aefa
parent56b85c9d7a45a90bf7cb8b5e8c2693f8064b2c09
hwrng: omap3-rom - convert timer to delayed work

We cannot put the HW RNG to idle using a timer because we cannot disable
clocks from atomic context. Use a delayed work instead.

Fixes a warning with CONFIG_DEBUG_MUTEXES on Nokia N900 during boot.

Reported-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap3-rom-rng.c