summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/xgene-rng.c
Commit message (Collapse)AuthorAgeFilesLines
* hwrng/xgene-rng: Convert timers to use timer_setup()Kees Cook2017-11-021-5/+3
| | | | | | | | | | | In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Cc: Matt Mackall <mpm@selenic.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: linux-crypto@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org>
* hwrng: xgene - fix handling platform_get_irqAndrzej Hajda2015-09-211-3/+4
| | | | | | | | | | | | The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* hwrng: xgene - add ACPI support for APM X-Gene RNG unitFeng Kan2015-03-091-0/+10
| | | | | | | This adds ACPI support for APM X-Gene RNG unit. Signed-off-by: Feng Kan <fkan@apm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
* hwrng: xgene - add support for APM X-Gene SoC RNG supportFeng Kan2014-08-291-0/+423
This adds the APM X-Gene SoC RNG support. Signed-off-by: Feng Kan <fkan@apm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
OpenPOWER on IntegriCloud